In cancer therapy, nanodiamonds can be used to deliver chemotherapeutic drugs directly to cancer cells, reducing damage to healthy cells. They can also be used in hyperthermia treatment, where they generate localized heat to kill cancer cells when exposed to certain frequencies of radiation.