What part of speech is "cogito, ergo sum"

It's not one part of speech. It's a whole sentence. Translated, it means, "I think, therefore I am." Attributed to Rene Descartes, it is a compound sentence with two subjects, two verbs, and a conjunction to connect them.