기
the act of … / being …
Explanation
기 is a nominalizing ending: it turns a verb or adjective into a noun-like expression. With an action verb, it names the activity—walking, reading, making something.
Talk about an activity as a thing
Remove dictionary 다 and add 기. The form is the same after vowels and consonants: 걷다 → 걷기, 읽다 → 읽기.
Like a noun, the result can take a particle. Here 이/가 marks the activity as the subject.
Say which activity you like
Use 을/를 when the activity is the object of a verb such as 좋아하다, “like.”
With an adjective: being in a state
The same ending can name a state, like the weather you’re hoping for in this example.
Saying something is easy or good to do
Before an adjective, -기 can name the activity you’re judging. Here the speaker says the road is good for walking.