There's also a more "emotional" explanation. Between 2 and 3 a.m., the body enters a phase of processing the day's emotions. If you fall asleep with heavy thoughts or unresolved stress, your brain often takes advantage of this time to "revisit" these worries. This sudden awakening is sometimes simply your mind working while you'd rather be sleeping!
Good habits for sleeping through the night
Hydrate at the right time
Drink enough water during the day, but reduce your water intake about three hours before bedtime.
Elevate your legs a few minutes before going to sleep
This helps the body drain excess fluid accumulated during the day, relieves heavy legs and improves sleep quality.
Create a pleasant atmosphere in your room
Ideal temperature: between 18 and 20°C. Breathable bedding, light pajamas and tightly drawn curtains form a winning trio for a deep sleep.
Relax your mind
A little deep breathing, a short meditation session, or a few pages of a pleasant book can work wonders. The idea is to send the body a clear message — “it’s time to relax.”
Quick and handy tip

Before going to bed, go to the toilet… then wait a minute and try again. This allows you to completely empty your bladder and avoid unnecessary awakenings.
The key to peaceful sleep is not always to “sleep more”, but to listen better to your body and calm your mind before closing your eyes.