Goats are members of the family Bovidae and are closely related to sheep.