An opioid, C18H21N2, similar in structure to codeine but with a –OH group in codeine replaced by a carbonyl group. It is an analgesic often used for the treatment of chronic pain. It is also used illegally and is a controlled substance in most countries.