period underwear?!

so a friend told me she uses period underwear and I'm just super curious as to how they work and if anyone on here uses them