Toxicity data is collected through a combination of in vitro, in vivo, and computational methods. In vitro tests use cell cultures to assess toxic effects, while in vivo studies involve testing on living organisms, such as rodents, to observe potential health impacts. Computational methods, such as Quantitative Structure-Activity Relationship (QSAR) modeling, predict toxicity based on chemical structure and properties.