Black beans, soybeans, and peas are rich in magnesium, an essential mineral for cardiovascular function, the nervous system, muscles, and the body's energy production.
Difficulty sleeping, frequent nighttime waking, leg cramps, or a restless feeling while lying down to sleep can be warning signs of magnesium deficiency.