However, the electromagnetic force attracts electrons and protons to one another, while planets and celestial objects are attracted to each other by gravity.
What attracts planets and celestial items?
gravity