<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 does solar energy work? Context: Solar energy harnesses the sun's rays to generate electricity or heat. Answer: [/INST]Solar energy works by capturing the sun's rays and converting them into electricity or heat.</s>