Answer
Induction coil was the tool used by Hertz to generate electromagnetic waves. This device, consisting of two coils of wire, one wrapped around the other, allowed Hertz to create high-voltage sparks. When the current in the primary coil was interrupted, it induced a high voltage in the secondary coil, which produced the sparks. These sparks generated electromagnetic waves, which Hertz detected using a spark gap.