The correct answer is B. appointing judges.
While the legislature has duties such as passing bills, appropriating funds, and overseeing state agencies, the appointment of judges is typically the responsibility of the executive branch or a separate judicial nomination process, depending on the state.