The Senate nominates judges for the Supreme Court.
Their power, the judicial branch of the government is interpret and analyse laws.
They need to check and interpret laws whether said laws are unconstitutional or not.
The legislative branch make the laws while the executive branch enforce the laws.