It collects standard-out and standard-error, allowing:the output to be searched for particular outputthe parent process wait for particular output to appear