Fever is caused by microbes in our body.
When microbes enter our body, they causes fever. We get a fever because our body is trying to kill the virus or bacteria that caused the infection. It is is harder for the microbes to survive in high temperature.