Relationship Between Gravity And Magnetism