Vicodin is an opioid, commonly prescribed because of their effective analgesic, or pain relieving properties. Many studies have shown that properly managed medical use of pain killer compounds is safe and rarely causes addiction. Taken exactly as prescribed, opioids can be used to manage pain effectively.