On this page of the LEGO Star Wars The Skywalker Saga guide, you will find information about the vehicles available in the game.
Starships are a new feature for the LEGO games. With them, you can freely explore outer space. You can also land on many landing spots on selected planets.
On some maps, you can find animals that can be used as means of transportation. Thanks to them, you can quickly traverse maps/levels.
To mount an animal, you have to press the appropriate button.
The game also has special combat vehicles. You will find/build them during missions. They are used also for destroying objects, not just enemies. You can move them around a specific area and use their deadly weapons.