they form a bargaining unit. which affiliates with another union
in order to unionize the workers of a worksite need to vote, and then their group becomes the sole representative for negotiations with workers.
that union group at that site can affiliate with any number of larger union organizations.
I mean, it is possible for anyone to go join a union as a non-shop member, as i did once, but they don't get any of the benefits of a unionized workplace, collective bargaining, or any of that. you need to have a worksite election to organize that first.
bargaining units can in fact often switch affiliations if they want, say they wanted to no longer work with the CWA and wanted to work with IFPTE instead. depending on how they're structured, they can.