prosecutors are part of what branch of​ government
Prosecutor In many countries, the prosecutor's administration is directly subordinate to the executive branch (e.g. the US Attorney General is a member of the President's cabinet). In some other countries, such as Italy or Brazil, the prosecutors are judicial civil servants and so their hierarchy is installed with the same (or nearly the same) liberties and independence warranties which the judges traditionally enjoy.
United States Department of Justice The department is headed by the United States Attorney General, who is nominated by the President and confirmed by the Senate and is a member of the Cabinet. The current Attorney General is Jeff Sessions.