How to get rid of these for good

This is what was collected after 4 days in my apartment are these just little gnats or fruit flies?? They’re everywhere and I can’t sit in peace without them flying around me I want them all to die. Respectfully.

This is what was collected after 4 days in my apartment are these just little gnats or fruit flies?? They’re everywhere and I can’t sit in peace without them flying around me I want them all to die. Respectfully.