"iyi olmak" : "to be good"
"iyi" (noun) : "good" (noun)
"to be" : "olmak" makes the noun into a verb
all verbs with suffix -mek -mak is the infinitive form of every verb such as
almak, gelmek, görmek, düşünmek, okumak, gitmek, gelmek, yüzmek, giyinmek, üşümek, ısınmak,