Unlike sleep quantity, sleep quality refers to how well you sleep. There are stages of sleep – like Deep Sleep and REM – that work in muscle relaxation and repair, memory refreshment, hormone regulation and others. When in light sleep the body regulates the immune system and gets rested. So each stage is important for a good sleep score.