In many movies representing the 18th century (suck as Barry Lyndon, or The Patriot) we see soldiers forming lines, shooting, while the opponent just walks towards them, under fire. How did it all really work?

by BannedFromDankMemes
DanKensington

Surprisingly similar, in fact. I commend to your attention the appropriate section of the FAQ on Early Modern Warfare; you want everything under a heading that says 'linear tactics'. I recommend starting with u/tyn_peddler's answer here, and moving onto the rest.