Impeachment is a formal process by which a public official, especially in high governmental positions such as the president or a judge, is accused of unlawful activity, potentially leading to their removal from office. It serves as an essential check by the legislature on the executive and judicial branches of government.