Catapults use weights and levers to send the rocks or other things into the air. They do not throw as far as modern weapons do, and are not useful in modern warfare. Catapults were common in the past, especially the Middle Ages.