Hydrocodone is a prescription opioid medication used to relieve moderate to severe pain. It works by binding to opioid receptors in the brain, altering the perception of pain. Often combined with acetaminophen or ibuprofen, hydrocodone can also be prescribed as a cough suppressant. Due to its potential for addiction and abuse, it is classified as a controlled substance.