<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:  Explain how a solar panel works. Context: A solar panel generates electricity by converting sunlight into energy through the release of electrons from atoms. Answer: [/INST]It converts sunlight into electricity by allowing photons to knock electrons free from atoms, generating a flow of electricity.</s>