Which of the following is a form of mechanical energy?

A. Chemical energy
B. Kinetic energy
C. Nuclear energy
D. Thermal energy