Understanding Pivoting

Hey guys,

I have recently started learning about pivoting and just want a confirmation about the below:

The below is a netstat output:

netstat -r

Kernel IP routing table
Destination     Gateway      Genmask         Flags   MSS Window  irtt Iface
default         UG        0 0          0 	eth0    UG        0 0          0 	tun0    U         0 0          0 	tun0    U         0 0          0 	eth1      UG        0 0          0 	tun0    U         0 0          0 	eth0

My understanding is that if we are trying to connect to a target with the ip address: then a packet will be first sent over to the gateway i.e and then the gateway forwards the packet to the destination

What if there is no route for the ip address I am reaching in the routing tables? will the packet be sent over to the default gateway as a last resort?

I am guessing the default gateway belongs to the router connected to the system and thus will take any packets and forward to a destination if an ip route is not available.

Sorry, if this looks like a basic question but I have always been weak in pivoting and want to get this straight!