A hash table answers “is word W in the set” in O(|W|). A trie answers “are there words with prefix P” in O(|P|) and lets you walk all extensions. Use a trie for autocomplete, IP routing, or word games.
Autocomplete: walk P down the trie, then DFS to gather top-K children.
Word search II (board + dictionary): build a trie of dictionary words; DFS the board, prune at trie.
IP routing: longest-prefix match routes 10.0.0.0/8 to the right netmask.
root -> a -> p -> p -> l -> e
| => words with prefix "app"
a -> p -> e -> n -> d
Trie when you ask “what starts with P?”; hashmap when you ask “is X present?”.