Ontox functions by utilizing a combination of in vitro and in silico methods to gather data about a substance's interaction with biological pathways. These data are then used to develop predictive models that estimate potential toxic effects. The approach aims to reduce the reliance on animal testing and improve the efficiency and accuracy of toxicity assessments.