The function of the phrase with previous experience in the sentence is: It is an adjective phrase modifying student.
An adjective is a word or group of words that are used to modify the noun or pronoun in a sentence.
In the sentence above, the adjective phrase provides more information about the noun, student. So, option D is right.
Learn more about adjectives here:
https://brainly.com/question/550822