Before any project work begins. We need to create a product backlog. It replaces the traditional requirements specification artifacts.
Sprint is an iteration, a time boxed effort in which we produce a specified working software.
In the second part of Sprint planning session we break down the stories in sprint backlog into tasks which can be tracked easily.
This is time where the actual coding, testing, UI designing, technical write-ups etc. are performed.
This is not a separate phase at the end of coding as done typically, rather it is done inside the sprint.
At the end of the sprint, we hold a sprint review session where everyone is involved.