Cognizant Interview Question

explain how java 8 lambda works