a tank is a machine used in war