Q:

Is a passport a plane ticket or do you have to buy a passport and a plane ticket

Answer

A passport is identification when traveling outside the US. It is not a plane ticket and if you leave the US, you need both.