Based on the piezo-effect discovered by the Curie brothers, an AC voltage is applied to a piezo-electric body causing it to oscillate. Sound waves can also be used to excite the body and the oscillations can be converted into an electrical voltage signal.