Anything that has seeds inside is scientifically classified as a fruit. And we have all seen tomatoes filled with seeds. So, however you eat them, raw or cooked, tomatoes are biologically classified as a fruit.