Your sleep environment can greatly affect your sleep quality. Factors such as falling asleep on the sofa instead of a bed, not having black-out drapes if you work the night shift, or leaving on the television which creates noise can all prevent you from getting a good night's sleep.