Methos, as usual, has explained things quite well. Here's a different side of it:
Chemical energy is stored in the chemical bonds that hold atoms together into molecules. It's a form of electromagnetism, and it all boils down to how the negatively charged electrons interact with the positively charged nuclei in their vicinity, as well as each other, subject to the constraints of quantum dynamics.
The repulsion of like charges -- and attraction of unlike charges -- within molecules are like little springs or rubber bands, able to store potential energy (like compressing a spring or stretching a rubber band) and release it later when the molecule reacts (Sproing! Snap!). A moustrap makes a nice analogy.
In a chemical such as dynamite, the chemical energy is very high per molecule (the bonds have *very* tight "springs") and chemical energy is released quickly in the form of heat and motion.
In living organisms the organic molecules release their chemical energy more gently, and in a much more controlled fashion due to the complexity of biochemistry. But the principles are the same.
Many biological systems use chemical energy stored in ATP (adenosine tri-phosphate) molecules, the "common currency" of cell processes.
So the original comment about life "out there surviving by chemical energy" is not terribly shocking. Energy such as starlight impinging on molecules can be stored within the molecules, thus converting radiation energy into chemical energy.
Excuse me now, but the doorbell just rang. It's time to replenish my chemical energy in the form of a pepperoni pizza.
