Final answer:
The bolded part of the sentence is a phrase, specifically a participial phrase. It does not contain a subject doing a verb, which differentiates it from a clause.
Step-by-step explanation:
The bolded part of the sentence, 'Having spent years traveling the world and immersing herself in various cultures', is a phrase. More specifically, it is a participial phrase, which functions as an adjective and starts with a verb (in this case, 'Having spent'). A phrase is considered a group of words without a subject doing a verb. Conversely, a clause has both a subject and a verb.
In the English language, the understanding of phrases and clauses is crucial. A phrase might include nouns, verbals, or a compound of these but not a subject doing a verb. In contrast, a clause includes a subject and a predicate - the part that includes the verb or verb phrase and may include other related information.
Learn more about Phrases vs Clauses