What is the difference between a hierarchy and an attribute?

What is the difference between a hierarchy and an attribute?

The difference between Hierarchy and Attribute is : Hierarchy: Hierarchy is an arrangement of levels that represents relationship between different attributes within a dimension. For example, Time dimension is a hierarchy with levels defined as Year/Quarter /Month/Day. Attribute: Attribute is a unique level within a dimension which provides a description to the dimension. For example, Product Color/Size is an attribute in the Product Dimension.