The biggest difference is that gravity is an attractive force while electromagnetism is both an attractive and repelling force. Gravity happens between two objects depending on their masses, while electromagnetism is dependent on the objects' electric charges and the distance between them.