Antigens are molecules, often proteins or polysaccharides, that are recognized by the immune system as foreign. They trigger an immune response, which helps the body identify and neutralize pathogens like bacteria and viruses. In the context of vaccines, antigens are the key components that stimulate the immune system to develop protection against specific diseases.