Pergunta de entrevista da empresa PayPay

What is a job, stage and task? How would they look like in this example code?