This tutorial seeks to teach you how to farm kelp, which are plants that are naturally found underwater.
Mechanics
Kelp grows similarly to sugarcane. One stem block can be placed underwater, and then it will spontaneously grow upwards until the top of the kelp is one block below the water surface.
Manual Farming
Kelp can be manually farmed by placing kelp, waiting for it to grow, and then breaking the kelp block above the bottom one to allow it to keep growing.
Automatic Farming
Kelp can be automatically farmed by detecting when it grows and then breaking the second-to-bottom block. This can be extended indefinitely upwards because kelp will keep growing until it can no longer do so.