In TPD, a material is exposed to a gas at a low temperature to allow adsorption. The temperature is then gradually increased, causing the gas to desorb at specific temperatures. By analyzing the desorbed gases, researchers can determine the binding energies and surface properties of the nanomaterials.