How does the immune response work?

The immune system is responsible for protecting the body against disease and infection. When the body detects a foreign body is detected, the immune system responds by attacking and destroying the foreign cells or substance.