A chemical reaction that is accompanied by or requires the Transfer of energy to a medium as a particle or electromagnetic radiation passes through it. Absorption of electromagnetic radiation is the combined result of Compton scattering, σ, and photoelectric absorption, τ. It may be quantified: where, t = thickness, ρ = density, and μ = mass absorption coefficient, which combines Compton and photoelectric effects (μ = σ + τ). of energy from its environment. A classic endothermic reaction is the melting of ice cubes in a cup of water.