Panthalassa was the vast ocean that surrounded the supercontinent Pangaea during the late Paleozoic era and the early Mesozoic era.