An antigen is a foreign substance, such as bacteria, viruses, or toxins, that trigger the immune system.