How to get milk in Minecraft?

In Minecraft, players must use an empty bucket on a cow to obtain milk. A pail of milk will be produced by the cow, which may be eaten or utilized in crafting recipes.