Complex sentence: The community has a shrine dedicated to the god Shango, the god of thunder, who punishes wrongdoers and rewards the devout by giving them children.
Split into simpler sentences: The community has a shrine dedicated to the god Shango, the god of thunder. She punishes wrongdoers; she rewards the devout by giving them children.