Sleeping pills function by slowing down the activities of the brain. The brain's activities that determine wakefulness or REM sleep (the state of sleep during which dreams occur) are reduced by sleeping pills. As time passes, this could lead to a gradual increase in drowsiness, until the person eventually falls asleep. Look at here to get special info about sleeping pills.