Accenture Interview Question

How is the collect statement used?