Vicodin is a combination of hydrocodone and acetaminophen, used to treat moderate to severe pain. It is a prescription medication that should only be taken under the supervision of a healthcare professional. The hydrocodone in Vicodin is an opioid pain medication, while acetaminophen is a less potent pain reliever that increases the effects of hydrocodone.