What happens when we sleep has remained a mystery for millennia, but scientists are now pulling back the curtain revealing the incredible significance of this nocturnal state.