When you use MongoDB, most of the time you are asking one simple thing:

*“Give me the documents that match this.”*

This is what find() does.

It searches through a collection and finds the documents that fit your filter.

Let’s take an example with the orders collection.