One way to organize sentence structure is to think of form and function.
When we talk about form, we mean word classes such as nouns, verbs, adjectives, and adverbs, among others.
When we talk about function, we refer to these structures in context.