The duty to defend is a legal obligation of an insurer to provide legal defense for the insured in claims covered by the insurance policy. This duty is typically broader than the duty to indemnify, meaning the insurer must defend the insured as long as the complaint alleges facts that could potentially fall within the policy’s coverage.