Lambda is an AWS serverless technology that allows developers to run functions in the cloud. Instead of provisioning a server and then deploying an application to be run on the server, a lambda function can take a small snippet of code in languages like java.net, python, etc. and execute them by starting up, and then shutting down when the code has completed executing. This is a very different type of computing in that you truly only pay for what you use and don’t have to manage any servers. Lambda takes care of launching the hardware to run your code, so as a developer your responsibility is to get business logic deployed to the lambda function. This also changes the economics of cloud computing in that instead of counting servers and server types, you are simply billed per second for what you use. Serverless computing was pioneered by lambda, however, other cloud providers also offer similar services in the form of Google Cloud Functions and Azure Functions.
in other words
Running and drinking a glass of water at the same time