PyMongo uses thread and socket functions from the Python standard library.
Gevent’s monkey-patching replaces those standard functions so that PyMongo
does asynchronous I/O with non-blocking sockets, and schedules operations
on greenlets instead of threads.