Its a weather strip its apart of the glass and mean to leak alittle
If the car is leaking inside ,
Maybe a drain, sunroof glass frame rusted , wester strip has pealed away , or isnt shut right they can move and leave a tiny gap
Sent from my LM-Q630 using Micra Sports Club mobile app