<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:  What is the main function of a router in a network? Context: A router in a network primarily forwards data packets between computer networks. Answer: [/INST]The main function of a router in a network is to forward data packets between computer networks.</s>