Vicodin is a prescription medication that contains a combination of two active ingredients: hydrocodone and acetaminophen. Hydrocodone is an opioid pain medication, while acetaminophen is a non-opioid pain reliever and fever reducer. Vicodin is commonly prescribed to relieve moderate to severe pain that is not effectively managed by other pain medications. It works by affecting the brain's perception of pain and increasing pain tolerance.