Those are usually micro switches. They sense the location of the pedal when you're pushing it. They can also be brake lights if you have a turn signal & brake light package installed.
Get a gas powered motor and connect where electric one was.
No
Electric, save money by using electric and the charge will last long. The gas golf cart may go faster though.
How do I get more distance out of my electric golf cart
cart behind horse
an electric motor drives the cart, similar to an electric car or a gocart.
you cant
How to check oil in rear diff on yamaha golf cart electric
what is a controller box on a 2000 yamaha electric golf cart
Electric cars.
Drive it downhill.
the one that isn't electric