~ことがある (occasional action)
There are times when something happens
You'll be able to say that an action or situation occurs sometimes, rather than all the time.

父は日曜日に料理することがあります。
chichi wa nichiyoubi ni ryouri suru koto ga arimasu.
What do you think this sentence means?
My father sometimes cooks on Sundays.
Say something happens sometimes
Dictionary-form verb + ことがある describes an occasional event or habit. It differs from the N5 past-form pattern meaning experience at least once.
朝ご飯を食べないことがあります。
asagohan o tabenai koto ga arimasu.
I sometimes skip breakfast.
Form and use ~ことがある (occasional action)
Use 遅れることがある for sometimes being late and 食べないことがある for sometimes not eating. A preceding た-form normally changes this to an experience statement.
朝ご飯を食べないことがあります。
asagohan o tabenai koto ga arimasu.
I sometimes skip breakfast.
このバスは遅れることがあります。
kono basu wa okureru koto ga arimasu.
This bus is sometimes late.
この電車は雪の日に止まることがあります。
kono densha wa yuki no hi ni tomaru koto ga arimasu.
This train sometimes stops running on snowy days.
忙しいときは、昼ご飯を食べないことがあります。
isogashii toki wa, hirugohan o tabenai koto ga arimasu.
When I'm busy, I sometimes skip lunch.
父は仕事で夜遅く帰ることがあります。
chichi wa shigoto de yoru osoku kaeru koto ga arimasu.
My father sometimes comes home late at night because of work.
7 more examples in the grammar path — free for a limited time.