Hydrocodone is a prescription opioid medication used to manage moderate to severe pain when other treatments are insufficient. It works by affecting pain signals in the brain and central nervous system. Because it carries risks of dependence, addiction, and respiratory depression, it should only be used under strict medical supervision and according to a valid prescription.