It's a flap of gum tissue near the erupting wisdom tooth called pericoronal flap possible cause of food impaction causing pericoronal inflammation and in turn abcess formation. So causing pain , and swelling.
Next Steps
visit dentist for further clinical examination
Health Tips
rinse with lukewarm salt water after every meals to maintain oral hygiene & avoid food impaction causing the trouble.
Thanks!