I prefer electric for the RV park setting, and so do the parks. Electric carts are permitted, sometimes even welcome, in more RV parks. Range of an electric cart is more than adequate with daily charging.
Pros: you can get around at a faster than walking pace. If you have mobility problems, a cart can make the difference whether you get around at all, and is less of a nuisance than driving your car or truck around, another common practice.
Cons: You have to carry the thing around, unless you are keeping it in one place, as in a seasonal park or permanent location in a trailer park. Thus you see carts a lot more in those types of parks.
RV parks may have liability insurance requirements, even if the state does not.
You likely can't use a cart on public roads in public campgrounds, unless it is a licensed and insured road vehicle. People tend to interchange the terms "RV park" and "campground" freely, not paying attention to the differences; rules use of the roads is one of the important differences.
In Oklahoma, we can license golf carts for road use, many were sold that way to take advantage of the electric vehicle tax credit. But if we take a licensed cart to a state that does not license golf carts, that license may not be recognized; whether or not a whole category of vehicle is road legal is one area where license reciprocity fails.