Line agencies are those that directly perform the primary functions of government, such as departments and public corporations. In contrast, the Union Public Service Commission (UPSC) is a staff or auxiliary agency that provides specialized services like recruitment and advice. It does not carry out the substantive executive work of the government itself.