In Ontology, substance refers to the underlying reality or being that attributes describe. Essential attributes are those that define or characterize a substance.
Attributes are properties or characteristics that describe substances. Essential attributes are those that are fundamental and necessary for defining a substance.
Relations describe how substances interact or are related to each other. Essential attributes can also involve relations that define how substances exist in relation to other substances.