Single-particle tracking (SPT) is the observation of the motion of individual particles within a medium. The coordinates time series, which can be either in two dimensions (x, y) or in three dimensions (x, y, z), is referred to as a trajectory. The trajectory is typically analyzed using statistical methods to extract information about the underlying dynamics of the particle. These dynamics can reveal information about the type of transport being observed (e.g., thermal or active), the medium where the particle is moving, and interactions with other particles. In the case of random motion, trajectory analysis can be used to measure the diffusion coefficient.