The primary three are morphine, codeine, and thebaine . Legally speaking, the term “narcotic” is imprecisely defined and typically has negative connotations. When used in a legal context in the U.S., a narcotic drug is one that is totally prohibited, such as heroin, or one that is used in violation of governmental regulation.