Coconut is defined as the fruit of the coconut palm (Cocos nucifera), characterized by a thick outer husk, a hard shell containing the seed, and edible white meat, which is part of the endosperm. Additionally, coconut milk is the liquid form of the endosperm found in the unripe nut and is used in cooking.