When you union tables in Tableau, you append two tables of data vertically. That means if you have two tables that are 1,000 rows each, the result of the union will be a single table that is 2,000 rows. Shared columns will align automatically, and unique columns will not.
Unions provide the ability to relate multiple tables that contain different data types of structures without worrying about granularity. Many times, fact tables that primarily consist of measures cannot be joined together because the join would lead to undesired row duplication.