The factory with the tall smokestack is located near the river. How is smokestack used in the sentence?
a) As an adjective modifying "factory"
b) As a verb describing the factory's action
c) As a noun referring to a structure
d) As an adverb describing the river