The story of Madame Butterfly centers around Cio-Cio-San. She's deceived by her American husband who abandons her. It's a story of love, betrayal, and ultimate sorrow.
Madame Bovary is pure fiction. It's not based on a real person's biography. Flaubert crafted the plot, characters, and events to tell a fictional tale that has become a literary classic.