During sleep, pillows keep the head aligned with the neck and spine. If a person’s spine is not in a neutral position, they can wake up during the night and lose sleep. Keeping the head in a neutral position is the goal according to the National Sleep Foundation.