Impeachment is the mechanism for Congress to remove Judiciary & Executive officials ("all civil officers" … up to & including the President).
It's there in case a corrupt President won't fire corrupt underlings.
Article II, Section 4.
https:// www.usconstitution.net/xconst_A2Sec4.html