This is the 2665th most frequent Swedish word.
smak
Taste.
Here, 'smak' is used as a noun to denote the flavor or sensory experience of a specific food or substance—in this case, chocolate.
Jag gillar smaken av choklad.
I like the taste of chocolate.
In this example, 'smak' is employed metaphorically as a noun, referring to someone's discernment or preference, specifically regarding art.
Hon har en god smak för konst.
She has a good taste in art.
Here, 'smak' again acts as a noun referring to the sensory attribute (flavor) that can be altered by changes in the composition or content of something.