When you feel those late-night cravings do you cave in or do you try your best to avoid the kitchen?

As long you're eating moderately you don't have to let those hunger pangs continue.

It's common knowledge that eating before bed isn't good for our health but according to Simplemost.com it's not the time you eat that's bad for you it's WHAT you're eating. In other words, put the bag of chips down and eat these 7 foods instead if you need to do some late-night snacking:

Rice

ThinkStock

Foods with high glycemic index, such as jasmine rice, are shown to help improve the time it takes to fall asleep.

Nuts

BSANI/ThinkStock

Nuts contain certain vitamins and minerals that help aid sleep. They're also tasty and filling.

Cheese

Magone/ThinkStock

This may come as a surprise because cheese contains fat but its okay as long as you're not eating too much of it. Cheese will not only help you fall asleep but you'll have more pleasant dreams.

Pumpkin Seeds

digitalr/thinkstock

"...Light snack that contain a high amount of tryptophan, the precursor of serotonin, which helps to induce sleep."

Cherries

Handout/Getty Images

Cherries contain melatonin and, of course, they're sweet and delicious.

Avocado

ashleigh kirkham/ThinkStock

Mmm one of my favorites! Avocados have magnesium which help the quality of sleep.

Canned Tuna Fish

PhotoEuphoria/ThinkStock

Filled with protein and healthy fats, tuna fish makes for a perfect bed time snack.