When use entity ? (D8)

Let’s look two modules: voting_api and dblog from core. Voting_api uses entity for storage and manage votes. In other words each vote is entity. Dblog module does query in db and each log message simple row in db table. But each log message possible considered as entity. Why ? How do I determine when use entity ?

Drupal version: 

Source: https://www.drupal.org/taxonomy/term/4/feed