When viewing analytics of a website device refers to what the person is using to view the site. When you access a website the web browsers determines what kind of device you are using and can change how that site is displayed.

Different devices have different screen sizes and aspect ratios making designs for a tv very different from a mobile phone. Devices also will determine how the visitor will interact with your site, via touch or a click, websites should take this into account when designing their site.