Good question, 元気(Genki: Healthy) is a good example. 元気 by itself is not modifying anything, of course. Like your example 「好き」 「元気」 is a な adjective.
Since it's a "な" adjective, we use the な to connect it to a noun.
Examples: 元気な猫 - Healthy cat.
元気な人 Healthy person.
Good luck in your studying, hope this helps. Here's a resource I used when I was starting out: http://www.guidetojapanese.org/learn/complete