The philosophical branch that investigates the nature of reality, including what it means to have free will.