The part of speech indicates how the word functions in meaning as well as grammatically within the sentence.