Ph-based structural change of water soluble carbon nanoparticles for encapsulation and release of therapeutic agents in biological systems