The Cabinet is a part of the executive branch of the government: so it can't be members of the other branches, so not of the legislative branch (not answer B) and not of the judicial branch (not answer D).
the correct answer is: C. the vice president, heads of each executive department, and some heads of other departments