AppViewX interview question

What is foreign key,what is DBMS ?