Battleship task groups - used to go against other task groups and bombard areas
Invasion task groups - cruisers and lcts, lctrs, ltcs, to quickly bombard, invade and take
Escort carrier task groups - to have a lighter yet supportive air deterrent for other task groups
Because WWII had large and diverse navies. So why be limited to only carriers.