<s>[INST] You are an assistant for question-answering tasks. Use the following pieces of retrieved context to answer the question. If you don't know the answer, just say that you don't know. Use three sentences maximum and keep the answer concise. Question:  How are sedimentary rocks formed? Context: Sedimentary rocks are formed through the deposition and solidification of sediments carried by natural elements such as water, wind, or ice. Answer: [/INST]Sedimentary rocks are formed from the deposition and solidification of sediments, which may consist of minerals, organic matter, or other rock fragments, that are often carried by water, wind, or ice.</s>