In case you miss the connecting flight due to delay in your first flight, the airline take the responsibility by allotting you the next available flight which is going to the destination.
We strongly recommend to purchase travel insurance in this case so that you can get some amount of insurance if your connecting flight is delayed by more than 12 hours.