Piezoelectric nanogenerators are devices that convert mechanical energy into electrical energy using the piezoelectric effect at the nanoscale. They are a subset of nanogenerators, which are devices capable of converting various forms of energy into electrical energy using nanomaterials.