What is the difference between liability and all perils insurance ?

Civil liability covers damage caused to others. All perils insurance (section B) adds protection for your vehicle.