Dolphins are cetaceans, belonging to the order Cetacea. Their closest relatives include other toothed whales such as porpoises and orcas. Baleen whales, like humpbacks and blue whales, are also cetaceans but belong to a different suborder.
Orcas are actually the largest members of the dolphin family, while porpoises are closely related but have distinct physical features. Dolphins are more distantly related to land mammals.