The immune system is the body's defense mechanism against harmful substances such as bacteria, viruses, and toxins. It is a…