Device
A device is any piece of hardware that a computer uses beyond its processor and memory, such as a disk, GPU, network card or keyboard.
In computing, a device is a hardware component that the operating system controls through a driver. Storage drives, GPUs, network cards, displays and keyboards are all devices. Inside a computer, most fast devices connect over PCIe, and slower ones over buses such as USB. On Linux, many devices appear as special files under /dev that programs can open.
The operating system stands between programs and devices. Programs ask the kernel to read a file or send a packet, and the kernel's driver talks to the device. This lets many programs share one device safely and lets the same program work with different hardware. Giving a program direct access to a device is powerful but bypasses those protections.
Sandboxes usually see virtual devices, such as a virtual disk, network card and console, provided by the hypervisor or runtime. These are simple on purpose, which keeps the code that untrusted programs can reach small. Real devices, such as GPUs, are passed through only when a sandbox needs them. A container sees only the devices its runtime allows, while a virtual machine sees only those its hypervisor creates.