The ELISA test is used to detect the presence of antibodies to a specific antigen in a sample.