Fever is a systemic, body wide response that creates an environment that is unpleasant for pathogens and enables your immune cells to fight harder. It also is a strong motivator to lie down and rest, to save energy, and to give your own body and immune system the time they need to heal or to fight the infection.