Why are kidney stones so painful?

And is there anything that you can do about it?