Magic Beans

Magic Bean is an item in The Legend of Zelda: Ocarina of Time and The Legend of Zelda: Majora's Mask

Ocarina of Time
It can be bought from a bean seller near Zora's River, Link can only buy a max of 10 beans, after link goes into the future the beans that Link planted have grown allowing link to stand on top of them and be carried to another place.

Majora's Mask
They can be bought from a bean seller or a Deku Shrub, to make them grow Link needs to give the bean Fresh Water, which will make it grow instantly and Link can step on them to take him to another position, Link doesn't need to pour water on it if it's raining.