They have the power of judicial review because they are supposed to be impartial and objective since they don't belong to the government or the parties. They review laws and executive acts made by the president and the congress in order to examine whether the acts are legal or in most cases whether or not they are constitutional.