Bucket

Buckets are tools used to carry water, lava, milk and fish.

Usage
Empty buckets can be used to "pick up" a water or lava source block by pressing item on a block of the relevant type. Similarly one can press when looking at a cow or a mooshroom to fill a bucket with milk. Empty buckets can also be used to collect fish in buckets.

A bucket filled with a source block can then be used to place its source block contents in the empty block next to the side of the block the player is currently looking at, or replacing the block looked at for some replaceable blocks.

A bucket full of milk can only be emptied by drinking it or by using it in crafting a recipe (like cake).

Placing empty bucket in fuel slot when smelting wet sponge in furnace will fill it with water after proccess.

An empty bucket can be used to empty a fully water cauldron, filling the bucket with water.

An empty bucket can be used to empty a lava cauldron, filling bucket with lava

Data values
In bedrock Edition buckets use data value to determine contents. Once used, each data value is set to 0 (Empty Bucket). If no data value is provided, data value is 0.