Gravity is the force of attraction the earth exerts on any object above the earth. Electricity is the flow of current [charges] from the source of supply to the load. Magnetism is the force of attraction between a magnetic material and a magnet.
The difference between eletricity and magnetism is that eletricity is everything around us and magnetism is like gravitation that stays on metal.