User experience (UX) is important to both SEO and search engine algorithms.
Site architecture directly influences how Google shows results in search. Using a structure that showcases the most important pages and subpages first will improve their search ranking. A hierarchical structure is one of the most common types of site architecture, a tree like structure that moves from general pages to more specific ones.