Piezoelectricity is the electrical charge produced in certain materials in response to applied mechanical stress. It is a type of energy conversion that occurs between mechanical and electrical energy, allowing materials to act as both a generator and a sensor. Piezoelectric materials are commonly used in a variety of applications such as transducers, sensors, actuators, and energy harvesters.