Epistemology vs Ontology
Epistemology is a sub field or a branch of philosophy. It tries to figure out what constitutes as knowledge. Ontology, on the other hand, is actually a subset of metaphysics, which is in turn a branch of philosophy. Ontology deals specifically with the philosophical study of the nature of being, becoming, existence or reality.