Electric fields are created by electric charges, or by time-varying magnetic fields. ... On an atomic scale, the electric field is responsible for the attractive force between the atomic nucleus and electrons that holds atoms together, and the forces between atoms that cause chemical bonding.