Roles of judicial officers

Find out the roles of the following judicial officers in court:

Childrens Court Magistrate

Defence

Judge (district and supreme court)

Magistrate

Police prosecutor (magistrates court)

Prosecutor (district and supreme court)