Here's why:
* It lacks a subject: We don't know *who* is banging on the door.
* It lacks a verb in the main clause: While "banging" is a verb, it's a participle, not a conjugated verb that can stand alone as a main verb.
To make it a complete sentence, you need to add a subject and a verb:
* Example: The mailman is banging on the door.