Tomato is classified as a fruit because it is produced from the overy and contains seeds.