Primary key is that column of the table whose every row data is uniquely identified. Every row in the table must have a primary key and no two rows can have the same primary key. Primary key value can never be null nor can be modified or updated.
Composite Key is a form of the candidate key where a set of columns will uniquely identify every row in the table.