Kidney stones are small, hard masses that form within the kidneys. Kidney stone analysis uses one or more test methods to examine and determine the composition of a stone. This is done in order to help identify the cause of the stone and, where possible, to prevent the formation of more stones.