How to identify the wrong steps if task is marked as failed?

Do we have any review system where I can see why task is failed?
I need to learn from my mistakes hence failed task would help to avoid future mistakes.

Yes, We do have a “Review” section. Please read more about this feature from the link below: -

Regards,
KodeKloud Support