There are plenty of things that may impact sleep and it will vary depending on your age and health conditions. Here are some of the most common factors:
Irregular sleep schedule Excessive caffeine, Some medications, Snoring, Sleep disorders, Mental health, Sleep environment, Mental health disorders, Diet, Travel, Alcohol intake