god is the adjective, but gott is actually both the neuter form of the adjective and the adverb. It is usually, but not always like that.
Adjectives: en god smörgås, ett gott vin, goda äpplen
Adjectives: smörgåsen är god, vinet är gott, äpplena är goda
Adverb: Smörgåsen/vinet/äpplena smakar gott