A good night's sleep is critical as the brain consolidates information learnt during the day with previous knowledge before filing it for long-term storage.