Hydrocodone is a commonly prescribed medication that is used to relieve pain and suppress coughs. It belongs to a class of drugs known as opioids, which work by binding to opioid receptors in the brain and spinal cord to reduce the sensation of pain.