The purpose of judicial review is to make sure that laws passed by the legislature are not unconstitutional. It is also used to enforce constitutional discipline over administrative agencies.