What is the potential energy of a molecule?

A. Energy gained form heating the molecule
B. Energy stored in molecular bonds
C. Energy lost as heat to the surroundings
D. Energy of motion during collisions