In order to transform chemical energy into mechanical energy, first we will need a battery.
A battery is capable of transforming chemical energy into electrical energy.
After that, using wires, we can connect the battery to a fan.
The fan will transform the electrical energy into mechanical energy (the fan blades will turn, creating kinetic energy).
Therefore the correct option is B.