The task of defining I/O devices to the operating system and then controlling the operation of these devices.