A spark-gap transmitter is an obsolete type of radio transmitter which generates radio waves by means of an electric spark. Spark-gap transmitters were the first type of radio transmitter, and were the main type used during the wireless telegraphy or "spark" era, the first three decades of radio, from 1887 to the end of World War I. German physicist Heinrich Hertz built the first experimental spark-gap transmitters in 1887, with which he proved the existence of radio waves and studied their properties.
A fundamental limitation of spark-gap transmitters is that they generate a series of brief transient pulses of radio waves called damped waves; they are unable to produce the continuous waves used to carry audio (sound) in modern AM or FM radio transmission. So spark-gap transmitters could not transmit audio, and instead transmitted information by radiotelegraphy; the operator switched the transmitter on and off with a telegraph key, creating pulses of radio waves to spell out text messages in Morse code.