So unlike gravity, unlike the gravitational force, the electric force that essentially holds and allows the interaction between atoms and molecules is both attractive and, in some cases, repulsive in nature, depending on the type of charges that are found in close proximity.