Verb
By working hard, you can prosper. Here "working" is a-
Sentence: "By working hard, you can prosper."
Question: What is the grammatical form of "working"?
Answer: Gerund
Explanation: "Working" here functions as a noun (the act of working), making it a gerund.