what the name of the thing that closes a door
A strick plate is the metal piece attached to the door jamb. As the door closes, the latch mechanism strikes the plate mounted to the jamb and the strike plate catches the mechanism and holds the door closed. Strike plates are generally the same finish as the door knob set and mount to the jamb with screws provided.