Jurisprudence is the study of fundamental legal principles and their relationship to other social sciences. It is derived from the Latin terms "juris" meaning law and "prudentia" meaning knowledge. Jurisprudence has three main branches: historical jurisprudence examines the origins and development of law; analytical jurisprudence analyzes basic legal concepts and principles; and ethical jurisprudence approaches law from an ethical perspective of how it should ideally be. Jurisprudence has practical applications such as providing terminology to legislators, filling gaps in laws, and helping legal professionals better understand statutes. It also relates to other fields like sociology, psychology, economics, and politics that influence and are influenced by legal systems.