The process of removing heat from an enclosed space or a substance in order to lower the temperature.