Various types of ships used for commercial trade such as tankers and reefers carry cargo from one port to another. When these ships are at port they are tied (moored) so that they do not change their position and remain stationery during the entire process of loading or unloading of the cargo. When they sail out for their destination, the cargo is safe and secure and the weather conditions which make the ship rock and roll within reasonable limits do not have much effect except for inconvenience to the crew members.
But there are another category of vessels whose operations depend on their staying at one particular position and direction despite changing weather conditions and sea currents. These jobs could be several types such as underwater cable laying, drilling, mine sweeping, surveying the ocean floor to name a few. These operations require the ship to remain relatively stable even when weather and ocean are trying to move it around from a fixed position and direction.
These ships require specialized systems which help them to maintain their status quo in terms of positioning, depending on the analysis and reaction to real time forces acting on the ship and such systems are known and dynamic positioning systems.