In gene delivery, nanoparticles encapsulate different types of nucleic acids, protecting them from degradation and delivering them to the cells of interest in a safe and efficient fashion.