Your question is Primary Key vs Foreign Key. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
What is the difference between a primary key and a foreign key in DBMS?
Keep your answer focused on the role each key plays in table design, how they enforce integrity, and how they differ in uniqueness and nullability. Do not drift into indexing theory unless it directly supports the comparison.