Phenothiazine was formerly used as an insecticide and as a drug to treat infections with parasitic worms (anthelminthic) in livestock and people, but its use for those purposes has been superseded by other chemicals.