A pipe fitting is a fitting used to connect pipe segments, that is placed at a junction or transition in a piping system and may be used to change flow characteristics such as direction and flow rate. In this instance valves are not classified a pipe fittings, they are classified as valves.
A pipe connector (union) is a pipe fitting typically used to join two ports together within a flow distribution system (e.g., a coupling used to join two pipe segments).