An antigen is any substance that triggers an immune response in the body. This response typically involves the production of antibodies. Antigens can be proteins, polysaccharides, lipids, or nucleic acids and are usually components of pathogens like bacteria, viruses, fungi, or parasites. The immune system recognizes these foreign substances and mounts a defense against them.