Triboelectric nanogenerators (TENGs) operate based on the triboelectric effect, where certain materials become electrically charged after coming into contact with a different material. These generators can harness energy from everyday movements like walking or typing, making them suitable for powering wearable nanodevices.