Help me understeand Strapi correctly

You should use a dedicated database to keep the data, for example: Fully Managed Database as a Service - PostgreSQL | Heroku

|ecause Heroku wipes all the data when your dyno restarts.