The energy gotten from peanut butter and jelly sandwich is in the form of chemical energy.
The chemical energy is the potential of chemical substance which undergo a transformation through a chemical reaction. Chemical energy is stored within the bonds of the atoms and molecules that make up a substance. Once chemical energy is released from a substance the substance is transformed into a new substance.