Rotenone functions by inhibiting the mitochondrial electron transport chain, specifically at Complex I (NADH:ubiquinone oxidoreductase). This inhibition prevents the transfer of electrons from NADH to ubiquinone, leading to a reduction in ATP production and subsequent cellular energy failure. This mechanism of action is harmful to a wide range of aerobic organisms, making rotenone an effective, albeit non-selective, biocide.