Most species of goldfish belong to the family Cyprinidae, which is a family of freshwater fish. This family includes carps, minnows, barbs, and other fish species. Goldfish are a domesticated form of the carp, and they are kept as pets all around the world.