A nozzle is often a pipe or tube of varying cross sectional area, and it can be used to direct or modify the flow of a fluid (liquid or gas). Nozzles are frequently used to control the rate of flow, speed, direction, mass, shape, and/or the pressure of the stream that emerges from them. In nozzle velocity of fluid increases on the expense of its pressure energy.
A diffuser is the mechanical device that is designed to control the characteristics of a fluid at the entrance to a thermodynamic open system. Diffusers are used to slow the fluid's velocity and to enhance its mixing into the surrounding fluid. In contrast, a nozzle is often intended to increase the discharge velocity and to direct the flow in one particular direction.