Literally, constructing a matrix where each element is i,j-th cofactor of the original matrix.

How’s it related to adjugate?

The adjugate is the transpose of the cofactor matrix!