lambda expression is used to create one liner function which is mainly used when you have collection of items and you want perform some operation on a particular field of each item. Lambda expression is also known as anonymous function.
Mostly it is used with map, filter and reduce where all these three uses a function as first parameter and second parameter is input (a collection of data).