When two objects have the same electric charge they push apart. When two objects have opposite electric charges, they are pulled together.