The body's immune system helps prevent microscopic infection and regulates the body's temperature. The immune system is a collection of organs, cells, and tissues that all work together to maintain the body's resistance to diseases. It has the ability to distinguish pathogens from the body's own tissues, so it can make the necessary responses to fight them.