What are Cocoa Beans used for on minecraft?

You can craft cookies using them. Place (W)heat and (C)ocoa Beans in the following configuration, where E is an empty space.

EEE

WCW

EEE

This creates 8x Cookies.