What you see is the wiring for the electric fuel pump. On my 2012 village gold cart the fuel gauge sending unit is separate from the fuel pump cap you see. It requires hole drilled, separate unit, wiring to dash, and gauge
Here what mine looks like.
Factory IPB without sending unit.
Yamaha Parts Catalog