Mucous plug?

Angela • Baby Boy Born July 20th 2016💙 Baby Girl Born August 24th 2018 🎀 Baby Girl #2 Born January 2022 🎀 🌈 Baby Boy #2 born May 17th 2024 💙
So random question but how does the mucous plug work? Does it slowly start coming apart or do we lose it all at once? I've noticed in the last couple of days a lot more mucous cm, and little booger chunks. And of course the more I thought about it the more I realized I have no idea what to watch for. So can anyone give me some insight on all of that?