Government authority that you might not deal with if you’re tourist. Besides you’d have to visit its office quite often if you’re planning to live here.
While performing its main function, immigration also issues residential certificates (which are necessary to buy any type of vehicle or get driving license), checks offices of foreign companies for compliance with immigration and visa regulations, etc.