The SC has to work on the basis of laws made by the Parliament. But, the SC can also annul a law framed by the Parliament if the law violates the Constitution. The Parliament can amend the Constitution also but again, that is subject to the Basic Structure doctrine.