Antigens are molecules that can trigger an immune response. The immunogenicity or ability of an antigen to provoke an immune response is influenced by several factors including the antigen's size, dose, route of administration, purity, and whether the antigen is attached to a carrier protein. The immune system has developed mechanisms to discriminate between self and foreign antigens to avoid autoimmune responses.