Biocompatible magnetic materials for the treatment of cancer by means of hyperthermia, and process for their production