Dioxins exert their toxic effects primarily by binding to the aryl hydrocarbon receptor (AhR), a protein that regulates the expression of various genes involved in cell growth, differentiation, and apoptosis. This binding leads to changes in gene expression that can disrupt normal cellular processes, leading to oxidative stress, inflammation, and ultimately, carcinogenesis.