Proximity operators (WITH, NEAR, W/#, etc.) are used to narrow searches by finding words that are next to, near, or within a specified distance from each other, and are often used when Boolean operator searches are not narrowing down a search enough.
For example, when a search for Chicago AND blues results in too many articles that weren’t really about blues music in Chicago; they just mentioned both words somewhere in full text. Using proximity operators will narrow down the search further and increase the likelihood that blues and Chicago are linked.
Proximity operators vary depending on the database. The database will provide this information, which is often found on a help page. The differences between proximity operators in EBSCO and ProQuest databases can be seen here:
In this Agricultural & Environmental Science Database search pictured below, searching "climate change" n5 activism will find the two search terms within 5 words of each other and in no specific order.