What does a Catapult do?

A catapult is a long arm that springs up fast to fling things flying through the air!

▶ what THAT machine do?!