The test works by detecting the presence of hemoglobin in the stool sample. There are two main types of FOBTs: the guaiac-based FOBT and the fecal immunochemical test (FIT). The guaiac-based FOBT detects blood through a chemical reaction, while the FIT uses antibodies to detect the presence of human hemoglobin.