Difference between a word and a parts of speech

A word is an addition of some letter that has a meaning.

On the other hand, a parts of speech is word that is used in a meaningful sentence.

With an example: Umbrella is a word that means by which we protect us from rain, sunny weather.[word]

And I went there with an umbrella. In this sentence, umbrella is a parts of speech.[parts of speech]