Dingleberry! That's what I call them too. On Zoee it's because of her long hair and they get stuck in it. But if it's a shorthaired cat.....
Perhaps a vet visit is in order?