This battery holder is designed for the series connection of 4 NiMH AA-batteries or 4 regular AA-batteries to power your device.
When using typical NiMH-batteries, the total voltage will be 4.8 V. When using regular batteries it will be around 6 V.
There are two free wires that lead off of the device which you can then use. You can solder a power jack to them or clamp them in a terminal block, Screw Jack, or even connect directly to a powered board or module.
This holder does not have mounting holes for screws, so you will have to mount it yourself.