The soldiers marched in formation.
The parade column moves down the street.
隊列 is a general formation or line used by any group, not necessarily for battle, while 戦列 is specifically a battle formation.
Compound of 隊 (たい, 'group, corps') and 列 (れつ, 'row, line'). The combination straightforwardly means 'formation of a group in lines'.