XML is a document format. XML documents have lots of angle brackets and can be very long. An XML document forms a tree of so-called "elements".
XPath is a language for matching specific elements (or nodes, which are a more general concept that includes attributes, text, etc.) An XPath statement is usually in a single line and contains lots of forward slashes (/).