One of the six darshans (orthodox systems) of Indian philosophy, important for its analysis of logic and epistemology and for its detailed model of the reasoning method of inference.
Like other darshans, Nyaya is both a philosophy and a religion; its ultimate concern is to bring an end to human suffering, which results from ignorance of reality. It recognizes four valid means of knowledge: perception, inference, comparison, and testimony.