Can Certain Foods Really Lead To Nightmares?

Everybody's had a nightmare and scary dreams can come from a number of sources. Some say that eating before bed is a bad idea, but could a late night snack lead to nightmares?