QSAR models are built using statistical techniques to analyze the relationship between the molecular descriptors of compounds and their observed biological activities. These descriptors can include properties such as hydrophobicity, electronic properties, and molecular geometry. The resulting model can then be used to predict the activity or toxicity of new, untested compounds.