A coconut is the fruit of the coconut tree. The coconut has three layers. The outermost layer, usually smooth and green in color, is called the exocarp. The next layer is a husk with fibers called the mesocarp.