A competitive histamine H2-receptor antagonist. Its main pharmacodynamic effect is the inhibition of gastric secretion. This compound belongs to the 2,4-disubstituted thiazoles. These are compounds containing a thiazole ring substituted at positions 2 and 4 only.