The basic difference between a coupling and a union is that coupling is for joining pipe to pipe or pipe to a swedge and the union is made for joining and disassemble a part of a piping system (a steam trap or control valve, etc) for maintenance or replacement. The use of couplings or unions is not a code issue.
2PCS PVC Union Coupling Pipe Fitting, 1-1/4 Inch PVC Slip Union
Pipe Fitting by Types - Types of Pipe Fittings
Threaded Pipe Coupling Dimensions Chart - Steel Coupling
What is the actual difference between WNRF, SORF, and SWRF Flanges? What are the criteria for selecting which type of flange should be used in a particular size of pipe? - Quora
Threaded Pipe Coupling Dimensions Chart - Steel Coupling
Pipe Couplings vs Unions - What's the Difference
Pipe Union Fitting 7 Types Of Union And Installation
Fluid Power: what is the difference between a connector, a fitting, a coupling, a union and an adaptor? - Quora
Company News, Steel Pipes And Fittings Company In China
What is the actual difference between WNRF, SORF, and SWRF Flanges? What are the criteria for selecting which type of flange should be used in a particular size of pipe? - Quora