the holes im not sure. i thought the ones in the ceiling might be for trim but doesn't look like it in the pic. who knows a previous owner may have had some kind of light inside and had the controls and the bezel
the three wires, ground, switched power, and the other probably constant power if the sides are push in lights