Daunorubicin functions by intercalating between DNA base pairs, disrupting the enzyme topoisomerase II which is crucial for DNA replication and transcription. This causes breaks in the DNA strands, ultimately leading to cell death. Additionally, daunorubicin generates free radicals that contribute to its cytotoxic effects on cancer cells.