You have asked a very basic question. Do you have a grammar book? The main parts are noun, verb, adjective, and so on. But sometimes it refers to how they function in the sentence - the subject, the direct object, the object of a preposition...
I think you need to ask a more specific question to get much help here.