In general, a control system is a part of a larger system that manages the behavior of the larger system itself. The control system of a computer is the set of programs in the operating system that interacts with the CPU and peripherals in order to run the computer. In a CNC machine, the control system likely consists of a controller board (logic board) and a number of hydraulic actuators operated by control valve switches.
With the advancement of technology, control systems have become more sophisticated and intelligent. In the old days, mechanical switches were used for controlling a system, and then came relays, then programmable logic controllers (PLCs), microcontrollers, and now, microprocessors.
All the control systems can be broadly classified under two headers: sequential control systems and feedback control systems.