An endothermic reaction absorbs energy from its surroundings. Example: Photosynthesis.
Example Equation: 6CO2 + 6H2O + Energy → C6H12O6 + 6O2
An exothermic reaction releases energy to its surroundings. Example: Combustion of methane.
Example Equation: CH4 + 2O2 → CO2 + 2H2O + Energy