The primary function of a Distributed Control System (DCS) is to provide an automated control system that allows for the centralized management of complex industrial operations. It is designed to monitor and control distributed equipment across large-scale processes, ensuring efficiency, reliability, and safety.