Any of a class of enzymes that act on substrates such as hydrogen peroxide and organic hydroperoxides such as lipid peroxides.