An avocado is technically a fruit. This is because, according to the formal definition, a fruit is the part of a plant that develops from its flower and contains the seeds. All other parts of a plant are considered vegetables, including the stems and roots.
Avocados are classified botanically as berries that contain a single large seed. They come from a family of flowering trees named Lauraceae. From a culinary standpoint, they share a few qualities with vegetables. Vegetables are usually savory in nature, not sweet, and are often used in main dishes. Avocado has a subtle, rich flavor that isn't too sweet, as well as a creamy texture, making it similar to many vegetables.