A letter of recommendation provides a third-party endorsement of a person's skills, character, and achievements. For employment references, the writer has a duty not to be misleading — both inaccurate positive and inaccurate negative references can give rise to liability.
Legal reference: Spring v Guardian Assurance [1994] (duty of care for references); Defamation Act 2013; UK GDPR