Metaphysics is the branch of philosophy investigating principles of reality transcening those of any particular science. Cosmology and ontology are traditional branches of metaphysics. It is concerned with explaining the ultimate nature of being and the world.