Vodafone Interview Question

why using union keyword on select query?