This is the 2430th most frequent Korean word.
나가는
"나가는" means "going out" or "leaving."
Here, '나가는' describes the action 'leaving' as an adjective modifying '버릇' (habit), indicating the habit of going out.
나는 매일 아침 일찍 집에서 나가는 버릇이 있다.
I have a habit of leaving home early every morning.
In this sentence, '나가는' acts as an adjective describing '것' (thing), referring to the activity of going out.
밖에 나가는 것을 좋아하지 않아.
I don't like going outside.
'나가는' is used here to describe the activity of going out, modifying '날' (day) to specify its purpose or event.