Question: when is work done in an electric field?
Answer: When a charged particle moves from one position in an electric field to another position in that same electric field, the electric field does work on the particle. The work done is conservative; hence, we can define a potential energy for the case of the force exerted by an electric field.