I am often asked how gravity and magnets work. I am not so sure they have taught this in schools for a long time for the amount of people that I meet that do not know how gravity and magnets work. We will start with gravity
Gravity is what holds everything together, and the earth is no exception. The earth, and its atmosphere, are in space. Space is a vacuum. It can be confusing to think that all of the air that surrounds our planet could just fizz off into the distance. Gravity stops this.
This is easy to witness in your own kitchen. Go and pour a soda – a clear or light coloured drink will allow you to see right the way through it. Cola will not be so good. Pour that drink into a clean glass – make sure it is really clean.
Leave the drink to settle for a few moments. Return to it and you will see small bubbles of gas in the liquid – not just ones on the sides of the glass but some actually in the middle of the liquid. This is because the liquid and the gas have been made equiliberal by the atmosphere. The atmosphere really does want to go fizzing off across space, but as it is chemically locked together so it would have to tear first.
Due to the pressure created by these chemical bonds holding a massive amount of air on us, the air is pressing us down. Overtime, this downward pressure rearranges the bonds in some minerals so they too have gravitational properties. It is due to a reaction between the air and the mineral, meaning these rocks cause things to be pushed and if you turn them the other way around they can then be used to pull things.
These are magnets – they are just rocks that contain the gravity the air has created.