XML is a tree structure,
similar to the structure of a data folder in a filing system, and XPath is similar to the naming of paths in a filing system. But XPath is a pattern that picks out all the nodes in an XML file whose paths match a certain pattern.