A web server will take requests and serve them.
The web server does this by looking at the request and then running a certain set of instructions on how to serve the request.
Rather than having to build the web server, serverless is a service where you can just give the serverless provider the instructions and they will run them for you.