A motorhome needs a steady power source for lights, the water pump, devices, the refrigerator, and sometimes a coffee machine. A leisure battery supplies these loads while the engine is off.
The starter battery needs enough charge to start the engine. A separate leisure battery takes the living-area loads, so you can stay away from a hookup without draining the starter battery. Planning the system in advance makes travel more predictable.