Did you know that the brain has a gland name pineal and it effectively produces the melatonin hormone which causes people to sleep? A very vital function of this gland is that it maintains the timetable of the body in the best manner. The sleeping and awaking habits are controlled by this hormone. In fact melatonin causes people to sleep.