A sampling calorimeter is a device used in particle physics to measure the energy of particles by sampling the energy deposited in a series of layers of absorbing and detecting materials. It provides precise energy measurements by allowing only a fraction of the particle's energy to be absorbed in each layer, which is then reconstructed to determine the total energy of the particle.