A crystal oscillator is an electronic oscillator circuit that uses the mechanical resonance of a vibrating crystal of piezoelectric material to create an electrical signal with a very precise frequency. The crystal is typically made of quartz or another piezoelectric material, and it is cut in a particular way so that it vibrates at a specific frequency when an electrical charge is applied to it.