How does the legislature oversee government administration?

How does the legislature oversee government administration? How does the judiciary get involved in agency oversight? Compare and contrast the effectiveness of Congress and the judiciary in holding federal government agencies to account.