Gene therapy is a medical treatment that uses genes to prevent or treat diseases. It is based on the idea of using genes to repair or replace damaged or improperly functioning genes. The goal of gene therapy is to introduce healthy copies of a defective gene into the patient's cells to restore normal function.