(Before get to the point, should briefly explain what is the three branches of government.)... ...
Then the functions are as follow:
The Legislature makes law, amends and replaces old laws, it controls, criticise, supervise and scrutinizes (meneliti) the administration or activities of the executive and influence the policies of the government. The legislature is also the the representative for the people. In some country, the legislature sometime held the judicial function like they can prefer the charge of impeachment on their executives (i.e. president or vice president),for example like United States of America. The Legislature also has the power to elect the head of the state, India for example, the lower house and the upper house and the state legislative bodies elect the president. Lastly, the legislature also control the national finance, no money could be spent or raised by the executive without the previous consent and approval of the parliament. The power of the legislature includes granting of money for expenses on public services, impose taxes and authorize loans.
The Executive branch is the enforcer of law, it enforce laws made or enacted by the legislature, it also held responsibility for the government administrative system, it has the authority to adjourn and dissolve the legislature. The formulation and execution of governmental policies are also the responsibility of the executive. It also direct relations with foreign governments despite of preparing the annual financial reports and proposal of the expenditure and taxes before presenting to the parliament or the legislature for approval. The executive branch issues regulations for the governance of the government departments. As the executive body including all the government servants, it held the responsibility for delivering services such as healthcare, welfare, education, finance and etc. to the people. The executive body also command armed forces for the defends and protection of the state security, recommend legislation and issue ordinances (undang-undang).
The Judiciary is a branch of government that is concerned with the administration of justice. It is the guardian of the constitution, if the laws made by the judiciary or the states are conflicted with the constitution, the judiciary could declare the laws as invalid. The judiciary interprets laws, the constitutions and the statutes. It hears and decide disputes.The Judiciary also makes law when the existing laws are blur or confusing or conflicting each others in some cases, the judiciary can determine what law should prevail according to the circumstances and situation. The judiciary also functions as the advisory body, which it held responsibility to giving advices when the government seek for it or when the YDPA refer to it.