Kinect for X-Box One is significantly higher-performing than the version for the 360 unit. No matter what your version, there is an adapter cable available which converts the connection to USB and supplies power, and Windows already contains the Drivers for it. There are various pieces of software which can use it, ranging from basic webcam software to the Kinect Studio and 3D Scan.
You should be aware that both versions of Kinect, and their adapter cables, have been discontinued by Microsoft; the adapter for the X-Box One version was discontinued in January 2018. If you wish to obtain these without buying from the secondary market, I recommend moving quickly.