The toxic effects of dioxins are primarily mediated through their interaction with the aryl hydrocarbon receptor (AhR). Upon binding to AhR, dioxins can alter the expression of various genes involved in cell growth, differentiation, and apoptosis. This interaction disrupts normal cellular processes, leading to the toxic and carcinogenic effects observed with dioxin exposure.