Correct option is B
The correct substitution of the highlighted words is (b) need to buy.
Explanation: The phrase "was needing" is incorrect because "need" is a stative verb, which is not usually used in continuous forms. Stative verbs describe states, feelings, or thoughts, and they do not indicate dynamic actions. Therefore, the correct form is "need to buy," which is the simple present tense used to express a necessity.
Corrected sentence: I need to buy a new pair of gloves.
Grammatical rule used: Stative verbs (like "need," "know," "believe," etc.) describe conditions or states rather than actions and should not be used in the continuous tenses. For example: I know the answer (not "I am knowing the answer").