They're both circles so they're basically the exact same thing.
A pie:
ingredients combined and cooked in a dough shell. Sometimes covered on the top with an additional shell. Sometimes deep, sometimes shallow.
A pizza:
ingredients combined and cooked in a dough shell. Sometimes covered on the top with an additional shell. Sometimes deep, sometimes shallow.