How does that grammar structure is called?
Answer:
[tex]\large \boxed{\sf Gerund \ phrase}[/tex]
Explanation:
A gerund phrase consists of a gerund, which is a verb that acts as a noun in the sentence. A gerund can be the subject of the sentence.