What best describes the relationship between sleep and memory?
A. The quantity of sleep impacts memory, while the quality of sleep does not.
B. The quality of sleep does not impact memory, while the quality of sleep does.
C. The quantity and quality of sleep have no impact on memory.
D. The quantity and quality of sleep both impact memory.