Before the 1950s, most people believed sleep was a passive activity during which the body and brain were dormant. But it turns out that…