What engine, HP model number, year.
In absence of other info I'd guess that it is an AC output for lighting but you will have to refer to the handbook to determine the wiring unless the colour code of the wires going to the three pin socket correspond to those in the upper diagram below. (yellow, yellow/gray and yellow/blue)
If I am right a battery charging accessory could also be plugged into this socket or a 6 diode (4 wire) rectifier wired up as in the bottom diagram.
probably total cobblers though!