In your dreams everything comes from your own mind. there is no external stimuli or information coming in that would add to your knowledge. Its amazing the things you remember when you have direct access to your subconscious