A school of fish refers to a tightly coordinated group that swims in unison, while a shoal is a looser aggregation of fish that swim independently but remain in close proximity to each other.