how to chemical bonds release and absorb energy
Energy is only released when chemical bonds are formed. In general, a chemical reaction involves two steps: 1) the original chemical bonds between the atoms are broken, and 2) new bonds are formed. These two steps are sometimes lumped into one event for simplicity, but they are really two separate events.