Piezoelectric devices are components that utilize the piezoelectric effect to convert mechanical stress into electrical energy and vice versa. This property is found in certain materials, such as quartz and certain ceramics. When these materials are mechanically deformed, they generate an electric charge. Conversely, they can change shape when an electric field is applied.