Which of the following is an example of chemical energy being used?

(A) Battery in a flashlight
(B) Ice melting
(C) Riding a bicycle
(D) Mercury rising in a thermometer