Researchers trace how different sleep stages may fine-tune what we remember, trading specifics for more general knowledge.