Vertebrates, including humans, are continuously exposed to microorganisms, their products, and other foreign molecules from other sources, which raises a defensive response throughout the body, known as the immune response.
The ancient Chinese custom of making children resistant to smallpox by having them inhale powders made from the skin lesions of patients recovering from the disease is an example of immunology.
Nonspecific immune response mechanisms are inherited, they are the first line of defense against foreign (harmful) molecules, and include general (Nutrition, Age, Race), physical (mechanical) barriers, chemical barriers (Secretions), and biological barriers (Normal flora, cells).
Active immunity is conferred by a host response to a microbe or microbial antigen, whereas passive immunity is conferred by adoptive transfer of antibodies or T lymphocytes specific for the microbe.
Both forms of immunity provide resistance to infection (immunity) and are specific for microbial antigens, but only active immune responses generate immunologic memory.