A goat is an herbivorous mammal commonly domesticated and kept on farms or as pets. There are also mountain goats that live in the wild. Goats are excellent climbers and often have horns.