Answer
Oscillator was a crucial component in Hertz's wave transmitter. It generated alternating current, which was then applied to the spark gap. The spark gap produced electromagnetic waves, which were transmitted through the air. The oscillator's frequency determined the wavelength of the transmitted waves.