Gene therapy is a technique that aims to correct defective genes that cause disease. It works by replacing or modifying the genes inside a patient's cells that are not functioning properly. The goal is to treat or potentially cure genetic disorders by addressing the underlying cause of the disease at the DNA level.