Pathogenic bacteria secrete antigens. In immunology, antigens are molecules present in the body of an organism that generate the ability to fight diseases. In other words, any substance that helps the body's immune system to produce antibodies is called an antigen.