The solubility of salts of weak acids is very pH dependent. The most important example of the
pH dependence of solubility is for CaCO3, which is the major component of sea shells,
limestone, and marble. The pH dependence of the solubility can be explained because when
CaCO3 dissolves: