Sunlight is present in unlimited quantity in nature and is not likely to be exhausted by human activities. So, it is an inexhaustible natural resource.
Whereas petrol takes millions of years to form. It is called exhaustible natural resource because it is formed at extremely slow rate in the Earth’s crust and once depleted, take a long time to replenish.
Hope you understood
Thank you