“Of the team” is the prepositional phrase. It is used to clarify what David is captain of.
Group of stars.
An appositive or appositive phrase renames a noun or pronoun that is right beside, specifically after, it. It is usually used to provide additional information, like a definition or clarification. In this sentence, "group of stars" is defining "constellations" making it the appositive phrase.