Answer:
Other: Adjective
plants: Noun
attract: Verb
insects: Noun
by: Preposition
producing: Verb
smells: Noun
Step-by-step explanation:
In the sentence, other functions as an adjective, modifying the noun plants. The predicate is formed by the verb attract, the direct object insects, and the prepositional phrase by producing smells.