The conversation between human and AI assistant.
[|Human|] What is the grammatical function of the underlined phrase?
[|AI|] The underlined phrase "last summer" is an adverbial phrase of time. It tells us when the action of the verb "visited" occurred.
[|Human|] 
What is the grammatical function of the underlined phrase?