Friends can "throw a party" for you if you have a birthday, or graduate from college. A person "throws a party" when they are the person managing or hosting the party. This is just an idiom, and nobody really throws anything. A group of other friends would be invited, and maybe some family members would also come. There would be food and at the end there would be desert...which is something sweet like cake or pie.
When there is a family party, the parents, grandparents, brothers, sisters, and cousins, aunts and uncles may all be invited. If this happens every year on a holiday, it might be called a "family reunion". Probably everyone who comes will bring some food, and if they do, we call it a "potluck" dinner. In western countries, there can be a lot of children at these family parties, because many families have a lot of children.