Sleep Stages and Neural Oscillations: A Window into Sleep's Role in Memory Consolidation and Cognitive Abilities