Longitudinal data in toxicology is collected through various methods, including cohort studies, where a group of individuals is followed over time, and case-control studies, which compare individuals with a particular condition to those without. Modern techniques also involve the use of biomonitoring to measure the levels of toxins in biological samples like blood, urine, and tissues at multiple time points.