Complex sentence: Ray knows the name of all the women, and in his last dying words, he reveals them to be Jane Foster.
Split into simpler sentences: Ray knows the name of all the women. In his last dying words, he reveals them to be Jane Foster.