Sedimentary rocks can be formed by chemical reactions. Chemical sedimentary rocks are formed when minerals precipitate out of solution. This can happen when the water evaporates, when the temperature changes, or when the pH of the water changes. Some common chemical sedimentary rocks include limestone, dolomite, and gypsum.