Gulls are most closely related to the terns (family Sternidae) and only distantly related to auks, skimmers, and more distantly to the waders.