Chloroform is typically produced on an industrial scale through the chlorination of methane. This process involves the reaction of chlorine gas with methane at high temperatures, resulting in the formation of chloroform along with other chlorinated byproducts. It can also be formed as a byproduct in the chlorination of water, especially when organic matter is present.