Liability insurance is a form of insurance that applies to the obligation of the insured to pay damages arising out of legal liability to others.