The first stages of sleep, known as as one and two, are light sleep, thus occur just after you rest.
Some article writing services may brag about the quality of articles, but what they don't tell you is they will will sell the same articles some other people. https://www.youtube.com/watch?v=GlrV9TB5A2A