How to move data from Azure Cosmos DB to Mongo DB

Hi Team,
Hope you all are doing well.
i need help on write a script to move the data from Azure Cosmos Database to Mongo Database.
For example in Cosmos there is collection called employeeData, under this collection address is subdocument. I need to move the address sub document to Mongo DB.
I hope the requirement is understandable. please i need guidance on this script.

To be honest, you should setup Azure Event Hub, sync it with MongoDB Atlas Triggers, and make a function to just migrate/pour the data over into MongoDB. Or make an HTTPS call, or just use the GraphQL functionalities. There’s a dozen options to achieve this exact task essentially, the bigger focus I’d say is just exporting the data into BSON or JSON and sending it over to MongoDB to ingest and it’ll all be there, just make sure you build the schema correctly etc.

EDIT
@Ramesh_k1 Just use JSON as a the target type, and export the data to JSON. Start up compass, login to your MongoDB Cluster, and upload the JSON file.

You have now migrated your data using the simplest process.