Answer:
See below
Step-by-step explanation:
Your final sentences feel a bit disjointed and a tad weak, I would try not to add new ideas into the final few sentences and focus on finishing your thoughts on how dreams don't affect sleep quality
For instance (you don't have to use this, its just an idea): "While poor habits are the cause of poor sleep, further research will have to be done in order to figure out if dreaming with it's ability to sort information has a positive impact on sleep."