The Nintendo Switch and Xbox are both consoles that can be hooked up to the TV via an HDMI cable.
The Nintendo switch also has the option to play without a TV which is its main selling point.
Besides the rating differences, you might also see price differences and sales depending on where you are.
In U.S. both Nintendo Switch and Xbox have promotions and sales which include a device with a lot of storage space (1 Terrabyte), a free game and 2 controllers for a price of around $500 to $800 which is a good deal because if you were to get all those things separately (controllers and games) it would be more.
So look for a bundle deal basically if it exists where you live.