The correct explanation for the existence of Mesosaurus fossils in both Africa and South America is:
The Earth’s continents were once joined together.
This explanation is based on the theory of continental drift, which suggests that continents were once part of a single landmass (Pangaea) and have since separated.