I am learning the gerund tense from lingolia. Here are some examples:
En jouant, Max a marqué un but.
Max a marqué un but tout en jouant.
En s’entraînant bien, son équipe gagnera aussi le prochain match.
Il est rentré à la maison en chantant.
Il a marqué un but tout en courant très peu pendant le jeu.
The first and last examples use "tout", which means "every" or "all". However, the sentence doesn't seem to call for such an adjective. Does "tout" serve an explicit purpose, or is it simply idiomatic?
In some contexts, "tout" might also mean "also" or "entire[ly]", but these don't seem to be useful in the above two examples either.