Nematocysts are an important adaptation for cnidarians because these specialized cells allow the jellyfish to capture their prey without a jaw or teeth.
The sting produced from nematocysts are what gives jellyfish their infamous reputation, but without nematocysts, jellyfish would be unable to feed.
I hope this answer contains enough detail for you, please send me a message if you have any questions regarding my answer. Have a great day! :)