Complex sentence: When Othello mentions the handkerchief as proof, Emilia realizes what Iago has done, and she exposes him, whereupon Iago kills her.
Split into simpler sentences: When Othello mentions the handkerchief as proof, Emilia realizes what Iago has done. She exposes him, whereupon Iago kills her.