A stool antigen test is a diagnostic tool used to detect the presence of specific proteins or antigens in a stool sample. This test is commonly employed to identify infections caused by bacteria, viruses, or parasites, but it can also have applications in the context of cancer, especially in screening for colorectal cancer.