During which process does a cell convert ADP to ATP?

a) Using energy to build a new protein
b) Capturing energy that was previously contained in a sugar molecule
c) Moving water from one side of a membrane to the other
d) Making a RNA molecule from a DNA template