The main task of programs and programming is telling computers what to do. When programs are successful at that job, interesting and innovative things happen. MongoDB is a whole new…