The answer is : C, to show how a problem was solved by an invention
Why: he wanted to see if the key he had on the bottom would attract lightning or not.
Its saying basically that there are hidden secrets underneath people. That every smile, nod or wave has a hidden agenda. It's like warning to be wary of who you trust.