A lambda expression can reference the local variables and parameters of the method in which it's defined.