In addition, peanut butter has a natural sleep-inducing ingredient. According to The List, peanuts contain tryptophan, the same amino acid found in turkeys—and we all know how exhausted we feel after a large Thanksgiving feast. Apparently, this is why people eat peanut butter before going to bed, so that they can fall asleep more quickly. Also worth mentioning is the fact that eating cookies just before bed leads to insomnia. This is probably because of the sugar content in most cookies; eating too much sugar can cause anxiety and keep you up at night. Last but not least, nuts are high in magnesium. This mineral is essential for a good night's sleep because it helps your body relax completely so you can drop off to dreamland. So, if you're looking for easy ways to improve your sleep quality, consider adding some nuts to your diet. They're healthy, delicious, and will definitely make an impact on your mood and energy levels during the day!