A demand letter formally notifies someone that you intend to take legal action unless they pay a debt or comply with an obligation. Most civil disputes require a demand letter (or pre-action letter) before proceedings can be issued. Courts expect parties to try to resolve disputes before litigating.
Legal reference: CPR Pre-Action Protocols; Practice Direction — Pre-Action Conduct; Limitation Act 1980