in other words sites I used https://geomag.bgs.ac.uk/education/earthmag.html#:~:text=Bibliography-,1%20Introduction,iron%20generate%20the%20magnetic%20field. and https://www.michigan.gov/explorelabscience/-/media/Project/Websites/explorelabscience/pdf/Atomic-Lab-Kids/Convection_Currents.pdf?rev=d7ab2dfdf2cf4e059b60818bcec1cb68&hash=482DC7EBCBBDC4ACA218E3CAF5D2079D#:~:text=Governed%20by%20the%20principle%20that,for%20the%20air%20and%20mantle. and https://www.usgs.gov/faqs/how-does-earths-core-generate-a-magnetic-field#:~:text=In%20a%20sense%2C%20yes.,we%20measure%20at%20the%20surface.