Kidney stones are mainly caused when dissolved minerals build up inside the kidneys.