ために (tame ni) - (N3) - While both ことがある (koto ga aru) and ために (tame ni) can express experiences, ことがある (koto ga aru) emphasizes the existence of past experiences, while ために (tame ni) emphasizes the purpose or intention behind an action.
ている (te iru) - (N4 - N3) - Both ことがある (koto ga aru) and ている (te iru) can express experiences, but ことがある (koto ga aru) indicates the experience has been done before, while ている (te iru) indicates the experience is currently ongoing.
た (ta) - (N4) - Both ことがある (koto ga aru) and た (ta) can express past experiences, but ことがある (koto ga aru) emphasizes the existence of experiences or occurrences, while た (ta) simply states the fact.
なら (nara) - (N4) - While both ことがある (koto ga aru) and なら (nara) can be used to express experiences, ことがある (koto ga aru) refers to past experiences, while なら (nara) can refer to both past and hypothetical experiences.