Fish swim in schools for various reasons, including protection from predators, improved foraging efficiency, and social interaction. Swimming in a group provides safety in numbers, making it harder for predators to target individual fish. Additionally, schooling helps fish find food more effectively by allowing them to cooperate in searching for and herding prey. Social interaction within a school also plays a role in communication, reproduction, and navigation.