Medically reviewed by Aviv Joshua, MS, RDNMagnesium is a mineral that's needed for important processes such as nerve function ...