What it is
Before a browser connects it must turn a name into an address. If that lookup goes straight to your ISP’s resolver while the connection itself goes through a proxy, the lookup reveals where you really are and what you are visiting.
With a SOCKS5 proxy the browser can ask the proxy to resolve names; an HTTP proxy resolves names itself. Misconfiguration, or a browser using its own encrypted DNS, is the usual cause of a leak.
Why it matters
A resolver in one country and an exit IP in another is a mismatch some sites and providers can notice.
What to do
Test with the proxy on, and prefer proxy-side name resolution. Read the result, not the settings page.