Scent.
Tomatoes (and potatoes) were developed in the ?Andes at high altitude in the mountains. The local flora and fauna had to be attracted to them in order to spread the seeds around.