Sleeping pills function by slowing down the activity of the brain. The brain's processes that determine wakefulness as well as REM sleep (the stage of sleep in which dreams take place) are slowed down through sleeping pills. Over time, this can cause a gr