Knowledge BaseIs Magnesium MagneticKnowing the magnetic properties of diverse elements is crucial for a range of applications in…