What is this condenser used for?

We used to charge um up on the Sun machine in auto shop class and shock the hell outta each other with um. lol