What is the name of the type of sentence that's formatted like "performing an action"?

When an -ing verb acts as a noun, it is traditionally called a gerund. It’s still a non-finite verb, and so can take complements:

Hitting kids on the playground will get you kicked out of school.

Being yourself is the most important thing you can do.

That’s not for shooting squirrels with, sonny.