What is this condenser used for?

Yeah and you know who taught us how to do it? Our shop teacher. lol
At my highschool we did not have auto shop, we had electronics.

Someone learned if you plug a large canister cap to a switched 120v AC outlet it makes a BIG bang