Codeine is a narcotic analgesic and antitussive medication. It is derived from opium and acts as a pain reliever and cough suppressant. Codeine is commonly found in prescription and over-the-counter medications. It works by binding to opioid receptors in the brain, altering the perception of pain and reducing the intensity of coughing.