SAR models work by analyzing the chemical structure of compounds to predict their potential toxicological properties. These models use various computational techniques, such as Quantitative Structure-Activity Relationship (QSAR) models, which quantitatively correlate chemical structure with biological activity. QSAR models are often employed to predict the toxicity of a compound based on the structural features identified through statistical and mathematical methods.