In fishes, the cavity containing the gills on each side of the rear of the head, enclosed by the operculum and the branchiostegal membrane.