Antigens refer to the unique proteins found on the surface of bacteria; these proteins are what enable the immune system to recognize the bacteria as foreign substances.
Other /More definition:
Antigens refer to foreign material that enters the body, including viruses, bacteria and parasites. Antigens are substances that provoke the immune system to produce antibodies.