A question about medical things

So I was in an ambulance having seizures (a particularly bad set) and due to me not breathing the paramedic Stuck a like wet thing up my nostrils. Kind of like a tampon. All I remember is ‘she’s not taking jt’

What is this thing? I’m just curious lol