Jurisprudence, also known as legal theory or legal science, is the philosophy of law. As a field of knowledge, it applies philosophical methods to legal questions, such as what the law is or how it ought to be.