Many drugs are used as medicine to help make sick people better. Opiates (morphine, heroin and codeine) are analgesics (painkillers). Nitrous oxide and ketamine are used as anesthetics (to force someone to sleep) for surgical operation. Amphetamines are legally prescribed to treat attention disorders in some countries, such as the United States.