Web server is a term used to describe both hardware and software. In our case it’s software, and it is used to serve web pages to the users. For a deeper understanding of what web servers are and how they work, we recommend this excellent very beginner friendly guide on MDN Web Docs at mozilla.org.