Explain user story structure with an example.

The User Story is outlined as follows :

* As a <Type of User>,
* I want <To Perform Some Task>,
* So that <I can achieve some goal/benefit/value>.

Example :

* User Story in case of a person’s online purchase :
* As a Customer,
* I want to shop online from websites,
* So that I do not need to visit the local market.