Traditionally web applications were built using backend technology. A request is made to a server and based on the URL being requested the server responds by generating a resource, usually HTML.
To do this servers need to “route” requests to different resource generation logic. This logic is what backend developers build.
This worked well for many years, but as browsers became more advanced code started being moved from the backend to the frontend.