Hypnotic rugs induce sleep (which differentiates them from the sedative category), used in the treatment of insomnia and in surgical anesthesia. Often the treatment of insomnia will not begin with drugs at all. Since many hypnotic drugs are habit-forming, a physician will usually recommend alternative sleeping patterns, sleep hygiene, and exercise before prescribing medication for sleep, due to a large number of factors known to disturb the human sleep pattern.