Doxorubicin works by inhibiting an enzyme called topoisomerase II, which is essential for DNA replication and repair. By binding to DNA and preventing the enzyme from functioning, doxorubicin induces breaks in the DNA strands, leading to cell death. This mechanism of action is particularly effective against rapidly dividing cancer cells.