Metaphysics
From Memory Alpha, the free Star Trek reference
Metaphysics is a sub-field of philosophy that examines the nature of reality including relationships between the mind and matter. It can also deal with cosmology.
In 2266, Captain Kirk of the USS Enterprise engaged the supercomputer Landru in a metaphysical debate. Landru regarded itself as an exact copy of its maker, an ancient philosopher and engineer. Kirk exploited certain key differences between the creator and the created to set up a paradox that the machine could not resolve. These limitations, rooted in its understanding of the world and of itself, had prevented it from realizing the harm it was doing to the citizens of Beta III, in direct violation of its programming. They also prevented it from deducing a way to resolve that harm, and ultimately, it experienced catastrophic failure. (TOS: "The Return of the Archons")
In 2364, when the USS Enterprise-D crew were infected with polywater intoxication, the training division ordered officers to attend a lecture in metaphysics. (TNG: "The Naked Now")
Captain Phillipa Louvois felt that determining the nature of Data was a case of metaphysics. (TNG: "The Measure Of A Man")
