where does the energy come from which is needed for an endothermic reaction?
Endothermic reactions are the opposite. The new bonds require more energy. This comes from heating the substances, or sometimes, comes from the surrounding environment. Absorbing heat energy from the environment makes everything decrease in temperature so the reaction 'feels' cooler.