Narcotics are drugs that relieve pain and induce sedation. They can also refer to illegal drugs, such as heroin and cocaine, which have a high potential for abuse and addiction. Prescription narcotics, like oxycodone or hydrocodone, are used for pain management under medical supervision.