If I am creating a database and I have two tables with a many-to-many relationship, I would create a third table to represent the relationship.
But how should I implement the above data model in Drupal 8, should I create three content types? so my question is, are content types in Drupal 8 the same as tables in a database, or are they something else that should be used in a different way?