It is a verb because it has an ing at the end, and also it is state of time!!
No it's a preposition
I believe it would be and "adverb".
Its a gerund
I think it's a preposition!
No..it is not a verb