Complex sentence: Momoi's grandfather is an overweight, mad scientist and it was his invention that his granddaughter and Uehara switched bodies.
Split into simpler sentences: Momoi's grandfather is an overweight mad scientist. It was by means of his invention that his granddaughter and Uehara switched bodies.