HCLTech Interview Question

What is use of K value for retrieve documents from vector db.