What is the difference between daily and final settlement in derivatives?

What is the difference between daily and final settlement in derivatives ?

Daily settlement price is the weighted average price for the last 30mins of the respective derivative contract.

Final settlement on expiry day is the weighted average price for the last 30mins of the underlying contract. So for Nifty futures, it is last 30 mins average of Nifty spot. same for Nifty options, all contracts settled based on final settlement of the underlying.