The bolded word in the sentence is the word "friends" and this is a noun. This noun is an example of a collective noun. A collective noun is used when it refers to a group of individuals. In this case the word "friends" consists of individuals that formed a bond or relationship.