LAMBDA defines the custom logic, and SCAN moves that logic through your data range.