Here's why:
* Present participle: "Thinking" is the present participle of the verb "to think." It's used to form continuous tenses like "I am thinking" or "She was thinking."
* Gerund: "Thinking" can also function as a gerund, a verb form that acts as a noun. For example, "Thinking clearly is important."
Therefore, "thinking" is a verb in these contexts.