The scientists at IIT were initially spurred to create a biodegradable and biocompatible nanogenerator.