Regarding the idiom "the shoe is on the other foot"?

i've always been confused what this could possibly mean. does it mean a shoe is on your other foot (meaning the right shoe is on the left foot) or that the shoe has gone on someone else's foot? regardless, who cares and why is this idiom so popular?
4 answers 4