What is the difference between battery and capacitor?

What is the difference between battery and capacitor?

From the BB Assistant Maintenance Engineer 2017 – Written exam, question 3 of 8.

More from this paper