Goats (Capra hircus) and sheep (Ovis aries) have been domesticated for thousands of years, with milk production serving as a major component of agricultural systems worldwide.