In its simplest form, a spark gap is nothing more than two electrodes with some space in between through which an electric spark passes when the voltage in a circuit reaches a high enough level.
Nikola Tesla developed this concept further and came up with several ingenious spark gap designs, using different types of materials, quenching and discharge mediums.