This is the 162nd most frequent Persian word.
ایرانی
"Iranian" – Relating to Iran or its people.
ایرانی is used here as an adjective describing the noun 'دوست' (friend), indicating the nationality of the friend.
من یک دوست ایرانی دارم.
I have an Iranian friend.
ایرانی here is used as a noun in its plural form 'ایرانیها', referring to people from Iran.
ایرانیها عاشق جشن و مهمانی هستند.
Iranians love celebrations and gatherings.
ایرانی is employed as an adjective to describe the noun 'فرش' (carpet), denoting the origin of the carpet.