Nuts are a type of food that are botanically classified as a fruit. They are typically composed of a hard outer shell that contains an edible seed or kernel inside. Some examples of commonly consumed nuts include almonds, walnuts, pecans, cashews, hazelnuts, and pistachios.