The two main type of database are:
Relational or Sequence Databases: DBMS uses schema, which is a template used to dictate the structure of data that will be stored within the database.
Non-relational or Non-sequence databases: It have collections of different categories like users and orders, for example. These collections are illustrated by documents. So, there can be multiple documents in one collection and they can or cannot follow any particular pattern or schema.