Antigens are molecules capable of stimulating an immune response, often by being recognized as foreign by the immune system. They are typically proteins or polysaccharides on the surface of pathogens, but can also include other substances like toxins or allergens.