1. Release of pyrogens, such as interleukin-1 (IL-1), by immune cells, particularly phagocytes, upon encountering pathogens
2. Pyrogens stimulate the hypothalamus in the brain to raise the body's temperature set point, leading to fever
3. Fever inhibits bacterial replication and enhances immune function, promoting the efficacy of the immune response
4. Once the pyrogen levels decrease, the hypothalamus resets to normal temperature, and the fever subsides