'Toutes' is the plural of 'toute', which is used for feminine nouns. So if all the people in the group are female ( 'toutes les filles' for example) or if all the objects are of grammatically feminine gender ('toutes les fleurs', for example) you use 'toutes' to mean 'all'. Otherwise, you use 'tous'.