A computer's primary storage device is managed by a Universal Disk Controller, also known as a UDC, which enables data transfer between the storage devices and other system components such as RAM. It acts as an intermediary to oversee communication protocols between these elements and optimize their functionality. The UDC has various responsibilities, including disk initialization, data input/output operations, error detection, and handling various interface standards for compatibility with different hardware configurations.