The point of buying an animal in Stardew Valley is to harvest the products it creates. Cows produce milk, chickens lay eggs, sheep grow wool, and so on. These products eventually pay back the cost of buying the animal, and everything they create after that is pure profit.