The present invention provides visible light sensitive and ultraviolet (UV) light sensitive composition for DNA transfer comprising acid sensitive polyacetals developed as DNA/RNA delivery agents, a photoacid generator and optionally a photosensitizer.