That is a slightly used Focusrite Scarlett 2i2 (4th Generation) audio interface.
It is a USB audio interface used to connect microphones, instruments (like guitars), and headphones/speakers to a computer for high-quality recording and production.
The 4th Generation model features the updated button layout on the front panel, including features like Auto Gain and Clip Safe alongside the classic 48V phantom power and Air mode.