Since Greece was so rocky and mountainous, they couldn't use cars or anything else to use for transportation but their feet. And also, since they lived by the seas, they used boats to travel over seas distances.
The geography affected Ancient Greece because the climate and bumpy hills changed the agriculture. It would be harder to grow many crops in the hills where farmers worked.
The majority of ancient Greece was a mountainous region not suitable for economies based on large-scale agriculture. (Note that Spartan society in Peloponnesus was an exception to this generalization...
Greece has many islands so many people get around by using "water taxis". Many islands ar very small and don't allow cars do to space, so people also use Vespas and other small vechicles.