Tout means 'all' or 'every' when it modifies a noun. It agrees in number and gender with the noun that follows.
These forms of tout are most often used with the definite articles le, les, la, l', but they may also be used with a possessive determiner: tous mes poèmes (all my poems), toute sa vie (all his/her life) etc. Here is a poem by a dramatic teenager:
Malgré toutes les filles que j'ai connues,
je pense à toi ...
tout le temps,
toute la journée,
tous* les soirs,
toutes les nuits.
In spite of all the girls (or all of the girls) that I have known,
I think of you ...
all the time,
all day long,
every evening,
every night.
*Note that the final s of tous is not pronounced when it is used as an adjective.
Tout or toute may also be used without an article to mean 'every.'
Tout is invariable (doesn’t change with what it modifies) when it functions as the indefinite pronoun meaning 'everything' or 'all', as in the first sentence below.
The plural pronouns tous and toutes agree with the nouns they replace. Compare the examples below.
*Note that the final s in the pronoun tous is pronounced, in contrast to the unpronounced s in tous as an adjective.
Tout may also be an adverb meaning 'all,' 'completely,' or 'quite' when it modifies another adverb, a preposition, or an adjective. Although tout is invariable before an adverb, a preposition or a masculine adjective, the feminine forms toute and toutes are used before feminine adjectives beginning with a consonant.
Here is a list of common idiomatic phrases with tout:
pas du tout, not at all
tout de suite, right away
tout le monde , everyone
tout le temps, all the time
tous les jours, every day
tous (toutes) les deux, both
tous les deux jours, every other day
tous les trois jours ... , every three days
toutes les deux semaines, every other week
en tout cas, in any case
malgré tout, in spite of everything
tout à l'heure, in a little while
tout à coup, all of a sudden
tout à fait, completely
tout droit, straight ahead
tout de même, just the same
tout en + participe présent, all the while ...