Sandstone can be formed from either a silica or calcium carbonate (limestone) matrix with either silica or feldspar particles. The second type (limestone) can potentially raise pH and is soluble in acidic solutions.