Aternos is a free Minecraft server host. It works like most of the free offers on the internet, with advertisements placed on the site's page.
Aternos is not a 24/7 host. Your server is only running as long as you need it and play on it. When you leave your server, it will be stopped automatically. But your server is saved and you can start it whenever you want to.