Coral Block

Coral block is a solid block which comes in five variants: tube, brain, bubble, fire, and horn.

Dead coral block is a solid block which comes in the same variants as coral blocks.

Obtaining
Coral blocks can only be obtained with a pickaxe enchanted with Silk Touch, otherwise they will drop the respective dead coral. Dead coral blocks can be obtained with any pickaxe.

Natural generation
Coral blocks and dead coral blocks naturally generate in coral reef structures. These are found in warm oceans.

Usage
Coral blocks and their dead variants can be used as building or decoration blocks.

Dead coral blocks
In order for coral blocks to stay alive, at least 1 of the blocks surrounding it must be water. If placed outside of water, it will transform into its respective dead coral block after a while.

Trivia

 * On the Bedrock Edition, horn coral blocks have a different texture than on Java.
 * Meanwhile, the dead variant of this block is the same.
 * After players have placed 10 million coral blocks underwater, Mojang will donate $100,000 to The Nature Conservancy to protect and restore coral reefs around the world.