While "good" is an adjective and "morning" is a noun, together they form a unit expressing a specific function: greeting someone in the morning.
While "good" is an adjective and "morning" is a noun, together they form a unit expressing a specific function: greeting someone in the morning.