Vertebrates generally have a ventral aorta and dorsal aorta, with six pairs of aortic arches that branch off and pass through gill arches. In fishes, the six pairs of arches each pass blood through the gills. Over time, some arches reduce or disappear, with sharks having five pairs and most fish having four functional pairs. In land vertebrates like reptiles, amphibians, birds and mammals, the number of arches reduces further to three pairs or less as lungs replace gills and the circulatory system evolves to separate oxygenated and deoxygenated blood.