The tank, which was developed after its predecessor, the armored truck, was meant to be able to cover rough terrain due to the trench warfare. Trench warfare involves the digging of trenches to make it hard for the enemy to advance, but with the development of crude versions of the tank the trench defense system became obsolete during the end of the First World War and beginning of the Second World War. Fundamentally the tank was developed and employed to breach the enemy’s defense lines, especially during a stalemate. The tank changed warfare because it had the capacity to withstand bombardment, machine gun fire, and barbed fences. This reduced injuries and fatalities to the soldiers. Tanks were predominantly used to lead and prepare the way for the infantry units and provide cover for assault operations. The tanks developed also helped in carrying surface to air missiles to repel air attacks from the enemy, thus revolutionizing both land and air warfare.
Hope this helps