<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:  Provide the purpose of an operating system. Context: An operating system manages computer hardware and provides a user interface. Answer: [/INST]It manages computer hardware and provides a user interface.</s>