The document contains code snippets demonstrating the use of structures in C++. The first snippet defines a student structure with name, marks and percentage fields, and takes input from the user to populate a student structure variable and output the details. The second snippet defines nested structures - an address structure nested within an employee structure, and takes input to populate an employee record including name, designation, address fields and salary. The third snippet defines a union with fields for physics, chemistry, math marks and total/percentage, and calculates total and percentage from marks input by the user.