Franklin had been waiting for an opportunity like this. He wanted to demonstrate the electrical nature of lightning, and to do so, he needed a thunderstorm.
He had his materials at the ready: a simple kite made with a large silk handkerchief, a hemp string, and a silk string. He also had a house key, a Leyden jar (a device that could store an electrical charge for later use), and a sharp length of wire. His son William assisted him.
Franklin had originally planned to conduct the experiment atop a Philadelphia church spire, according to his contemporary, British scientist Joseph Priestley (who, incidentally, is credited with discovering oxygen), but he changed his plans when he realized he could achieve the same goal by using a kite.