emids interview question

How Linq works?