The first one is a relative adverb, logically meaning "at which" or "when" (though in practice neither of those are very natural here). The second one is a relative pronoun, part of the noun phrase "terrorist organisations that it nurtures"
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.