Answer:
The reason you get shocked is because of static electricity. As you shuffle along a carpet ( especially with cotton socks on ), you start building up an electrical current. You conducted an electrical current, and then when you went to touch the metal you transferred the elecricity you built up, to that metal object.
Step-by-step explanation: