What is a membership attribute and how do I use it?

I keep tripping over the membership attribute dialog. Searched everywhere and cannot get my head around it. How does it work? What is it for? Is there anywhere some detail as to how this is used and what it should produce? I would really appreciate a real life example as to how this is supposed to work. Thank you.