This is the 5688th most frequent Russian word.
приезжал
"Приезжал" means "came (by vehicle)" or "visited" in the past tense.
The word 'приезжал' in this sentence is used in the past tense masculine form to describe that someone (the friend) traveled to a location (visiting us).
Вчера к нам в гости приезжал мой друг.
Yesterday, my friend came to visit us.
Here, 'приезжал' describes a recurring past action in the masculine form, indicating the speaker's visits.
Каждое лето я приезжал в деревню к бабушке.
Every summer, I went to the village to see my grandmother.
In this case, 'приезжал' also specifies a past action but within a particular timeframe or context, referring to the individual visiting before evening.