Sleep is a great energizer as all the voluntary muscles are then at rest and recuperative processes go on unconsciously.
During sleep, the subconscious mind, not being under the control of consciousness, wanders away from the body.

More: continued here