Given below are the representations of uniform electric and gravitational fields.

In fig (a), a positive charge q moves from A to B in the direction parallel to electric field E. The charge-field system undergoes a change in its electrical potential energy.
In fig (b), a mass particle m moves from A to B in the direction parallel to gravitational field g. The mass-field system undergoes a change in gravitational potential energy.
Identify the statement that correctly states the changes in the energies of the above two systems.
A. The charge-field system loses electrical potential energy whereas the mass-field system gains gravitational potential energy.
B. The charge-field system gains electrical potential energy whereas the mass-field system loses gravitational potential energy.
C. Both the charge-field system and the mass-field system lose their respective potential energies.
D. Both the charge-field system and the mass-field system gain their respective potential energies.