Hypnotic (from Greek Hypnos, sleep) or soporific drugs, commonly known as sleeping pills, are a class of psychoactive drugs whose primary function is to induce sleep and to be used in the treatment of insomnia (sleeplessness), or for surgical anesthesia
Reference: Wikipedia, https://en.wikipedia.org/wiki/Hypnotic , consulted on july 08th,2019