It comes from Ancient Greek κῆτος (kētos), in reference to the sea monster goddess Ceto, daughter of Gaia and Pontus, and said to resemble a gigantic whale or fish.