In TDS, a short pulse of light excites the sample, and the time-dependent response of the material is recorded. The process usually involves femtosecond laser pulses to generate terahertz pulses. The time-domain signal is then converted into the frequency domain using a mathematical operation known as the Fourier Transform. By analyzing the frequency components, one can extract valuable information about the material's properties.