On board battery chargers.

So as I have been reading options for newer boats a lot advertise on board "Battery Chargers" and of course charge a pretty penny for this option. My question is doesn't the alternator charge the batteries once the engine is running? Or has the newer boats come up with some high tech way. To me sounds like just another way to nickle and dime the consumer.