Complex sentence: Yangban noblewomen were completely segregated from the rest of society, during the day they could not leave their homes, if they had to, they were transported in a litter called "gama" (가마).
Split into simpler sentences: Yangban noblewomen were completely segregated from the rest of society. During the day they could not leave their homes, and if they had to, they were transported in a litter called "gama" (가마).