The public service of Ireland consists of agencies which, while not formally part of a Department of State, provide services on behalf of the government. Their functions range from regulating sectors of the economy, to defending and policing the nation and running the health service.