If you become unable to work due to illness or accident, or lose your job through no fault of your own, you often lose income. The payment protection insurance then covers your instalments, and you can focus on getting well or finding a new job.
The insurance is optional. You choose it in the loan application; you can see the cost there before you decide.