Learning occurs through gaining understanding of a subject, interpreting it in our own words, using new knowledge with existing skills, and applying the new knowledge. Memory involves storing information in the short-term and transferring it to long-term memory by making connections between information. During sleep, the brain tidies ideas, erases less important memories, strengthens important memories, and rehearses difficult learning through dreams. Studying material before sleep can enhance understanding and memory consolidation.