Hydrocodone, also known as dihydrocodeinone, is a semi-synthetic opioid used to treat pain and as a cough suppressant. It is taken by mouth.