In this sentence: James spent time with his spouse at the Botanic Gardens. is "time" considered the direct object since it answers the question whom or what after the verb spent?

Yes.

Sra

so "time" its also a noun righ

RIGHT!

Yes, in the sentence "James spent time with his spouse at the Botanic Gardens," "time" is considered the direct object. The direct object is the noun or noun phrase that receives the action of the verb and answers the question whom or what after the verb. In this case, "spent" is the verb and "time" is the direct object, as it answers the question "what did James spend?"