1. Mooncakes have a full-moon shape.

2. Songpyeon has a half-moon shape.
(What is the part of speech of 'full-moon' and ' half-moon'? Adjective or noun?)

Those two compound, hyphenated words are being used in these sentences as adjectives.