Phantom brave marina

Can someone explain the marina!?? Like the characters that you put in the available slots…. Do they have to be in in battle!??? Do they receive benefits while undeployed!? The exp and mana benefits are from the shared exp when defeating enemies!? Or is it of the exp you gain after finishing a stage!?