When referring to a computer a device is any internal or external hardware peripheral that attaches to a computer to send, receive, or process data. For example, a printer is an example of a device, although more appropriately referred to as a peripheral.
but individually a device can refer to any electronic device including a laptop, tablet, and smartphone.