A divergent nozzle is designed to accelerate a fluid by expanding its cross-sectional area, allowing it to convert pressure energy into kinetic energy. This type of nozzle is essential in applications like rocket engines and supersonic wind tunnels, where high-speed fluid flow is required.