Lack of sleep can affect the immune system.