Magnesium is the major mineral which is important for nerve and heart functions. It is a co-factor for over 300 enzymes. It is a major constituent of bone and is found in whole grains and vegetables. Sudden heart attacks may be due to the low level of magnesium. It can be obtained by consuming rice bran, sunflower seed, wheat barn and linseed meal.