Trihalomethanes (THMs) are a group of chemical compounds that form when chlorine and other disinfectants used to treat drinking water react with naturally occurring organic and inorganic matter in the water. The four main THMs are chloroform, bromodichloromethane, dibromochloromethane, and bromoform.