Hexaware Technologies Interview Question

what is sequence and what function you use to generate and syntax