Coal liquefaction is a process of converting coal into liquid hydrocarbons: methanol (indirect liquefaction) or synthetic fuels (direct liquefaction). This can be done through various chemical processes, typically involving heat, pressure, and catalysts. Bromides, particularly potassium bromide, were widely used in medicine in the late 19th and early 20th centuries as sedatives and for treating epilepsy. Although largely replaced by newer drugs today, they are still sometimes used in veterinary medicine. Bromide ions depress the central nervous system.