Sleeping pills are recommended by doctors to the patients

Sleeping pills are recommended by doctors to the patients suffering from sleeplessness but it is not advisable to take its doses without consultation with the doctor. Why?

Sleeping pills contain drugs that may be tranquilizers or antidepressants. They affect the nervous system, relieve anxiety, stress, irritability or excitement. But they should strictly be used under the supervision of a doctor. If not, the uncontrolled and overdose can cause harm to the body and mind because in higher doses, these drugs act as poisons.