Here are some examples:
* "The sound of the waves crashing on the shore was soothing." (Sound as the object of a verb)
* "I love the sound of laughter." (Sound as the object of a preposition)
* "There was a strange sound coming from the attic." (Sound as the subject of a sentence)
However, "sound" can also be a verb, adjective, or even an adverb.
* "The music sounded beautiful." (Sound as a verb)
* "The argument was a sound one." (Sound as an adjective)
* "The car sounded its horn." (Sound as a verb)
Therefore, the grammatical function of "sound" depends on the context of the sentence.