The serverless architecture provides services on demand. Well, servers are still used but a company is charged from the cloud vendor only on its usage and not for a fixed amount of servers. This happens by triggering them to work only when needed. These services are auto-scalling and cut a lot of daily costs and deployment time.
Nowadays we use modular separate components to build an application. This is known as the microservice architecture.