Vicodin is a semi-synthetic opioid that attaches to opioid receptors to offer pain relief for those suffering from moderate to severe pain.