Not getting enough sleep has been linked to a laundry list of mental and physical health problems, including those that stem from an impaired immune system. Our immune system is designed to protect us from colds, flu, and other ailments, but when it is not functioning properly, it fails to do its job. The consequences can include more sick days.