There were plenty of military purposes for which elephants could be used. As enormous animals, they could carry heavy cargoes and provided a useful means of transport. In battle, war elephants were usually deployed in the centre of the line, where they could be useful to prevent a charge or start one of their own.
During World War I, elephants pulled heavy equipment. This one worked in a munitions yard in Sheffield.An elephant charge could reach about 30 km/h and unlike horse cavalry, could not be easily stopped by an infantry line setting spears. Its power was based on pure force: it would crash into an enemy line, trampling and swinging its tusks. Those men who were not crushed were at least knocked aside or forced back. Moreover, the terror elephants can inspire against an enemy unused to fighting them (such as the Romans) could cause him to break and run just on the charge's momentum alone. Horse cavalry were not safe either, because horses unaccustomed to the smell of elephants panicked easily. Elephants' thick hide make them extremely difficult to kill or neutralize in any way, and their sheer height and mass offered considerable protection for their riders. Unfortunately, they also had tendency to panic themselves: after sustaining moderate wounds or when their driver was killed, they would run amok, indisciminately causing casualties as they sought escape. Their panicked retreat could inflict heavy losses on either side. Experienced Roman infantry often tried to sever their trunks, causing an instant panic, and hopefully causing the elephant to flee back into its own lines.
In the Punic wars, a war elephant was heavily armoured and carried on his back a tower, called a howdah, with a crew of three men: archers and/or men armed with sarissas (a six metre long pike). Forest war elephants, much smaller than their African or Asian relatives, were not strong enough to support a tower and carried only two or three men. There was also the driver, called a mahout and usually Numidian, who was responsible for controlling the animal. The mahout also carried a chisel-blade and a hammer to cut through the spinal cord and kill the animal if the elephant went berserk. Despite these disadvantages, elephants were the ancient world's equivalent of a heavy tank, such as the Second World War Panzer.