Accenture interview question

How is the collect statement used?