Tanks were at first used during World War I for breaking the impasse of  trench wars, and after a long time the roles of tanks  underwent an evolution to replace the roles of cavalry.