DLS measures the size of nanoparticles by analyzing the time-dependent fluctuations in the intensity of scattered light. These fluctuations arise from the Brownian motion of the particles. By applying the Stokes-Einstein equation, the diffusion coefficient can be related to the particle size.