Which energy transformation occurs in an endothermic reaction?

Energy from the surroundings is stored in the chemical bonds of the products.

Energy from the chemical bonds of the reactants is released to the surroundings.

There is a net flow of energy from the surroundings into the system.

There is a net flow of energy from the system out to the surroundings.