Pets feel like a modern comfort, but their origins stretch back tens of thousands of years. Wolves became dogs long before agriculture, while cats likely domesticated themselves around early farms.