The immune system is the body's natural defense system. It consists of cells, tissues and organs that work to defend the body against harmful agents such as bacteria, viruses or foreign substances. The immune system protects you from disease and infection.