Ontology is a study, more specifically the study of being. In relation to search and the web, ontology is a way of creating rigorous and exhaustive conceptual schema for a domain. It is most generally a data structure organized in a hierarchical manner which contains not just relevant pieces of information but also defines their rules and relationships within the domain.