Complex sentence: On her deathbed in her hospital room, Emily marries Zander, and, shortly after, lapses into unconsciousness and dreams of kissing Nikolas, who happens to be in the room next door.
Split into simpler sentences: On her deathbed in her hospital room, Emily marries Zander. Shortly after, she lapses into unconsciousness and dreams of kissing Nikolas, who happens to be in the room next door.