The most obvious reason for having a backend is to host your website. If you create an HTML-based online application, you’ll need the means to host it so that your users may eventually access it. If you develop a native application for a mobile or desktop operating system, you may be able to avoid hosting.