Potassium bromide is an ionic compound that is commonly used in chemistry to form a pellet that can be used to analyze a number of compounds by means of infrared spectroscopy. Potassium bromide is also used as an anticonvulsant to treat refractory seizures in humans and dogs.