There are different situations when you should use MongoDB and Redis. For instance, when you have no idea about how to query the data or what schema to follow, MongoDB is the right option to use. On the other hand, when you want to increase the speed of an existing application, you need to use Redis.