The UNION operation in SQL runs two SELECT queries separately, collects their results, then combines these results into one list. After combining, it removes any duplicate rows so that each row appears only once in the final output. This process requires both queries to have the same number of columns with compatible data types. The final combined unique list is then returned. If you want the results in a specific order, you add an ORDER BY clause after the UNION. This visual trace showed step-by-step how the first query's results are collected, then the second's, how they are combined, duplicates removed, and the final list returned.