The Firestore and the Firebase Realtime database are NoSQL database that means there is no need to create the table and define the schema. In the Realtime database, data is stored as one large JSON tree. In Cloud Firestore, data is stored as a collection of documents . The data is simple, so it is very easy to store.