An antigen is a molecule or molecular structure that can be recognized by the immune system, particularly by antibodies, B cells, or T cells. These antigens can be proteins, polysaccharides, lipids, or nucleic acids and are often found on the surface of pathogens like bacteria and viruses.