That's a ruijie poe power adapter
from the label:
-model:rg-poe-af15
-version:v2.00
-type:single-port poe power adapter
-weight:0.29kg
basically, it lets you power a poe device like a wifi access point or cctv camera using a normal power socket, even if your router/switch doesn't support poe.
you plug:
1. lan cable from your router -> into the adapter's lanport
2. lan cable from adapter's poeport -> to your access point / camera
3. power cable -> to socket
it sends both internet + power through that one cable to the device