A crystal oscillator is an electronic component that serves to generate an accurate time base for electronic circuits.