Basically, with a pipeline we can pass an object through a stack of tasks and get the result via a callback.
Refer Here -> https://laravel.com/api/7.x/Illuminate/Pipeline/Pipeline.html
The method handle used to execute the task receives two parameters, the first is the object that we passed to our pipeline, the second is a closure, where the object will be sent to run the next task.