When saying/speaking "no" for question, you can say "아니요(No)" or "아니오". We Korean often say "아니오", The latter "아니오" isn't right in grammar, though.
Otherwise, "아니-에요" is conjugated form of "아니다".
아니-다
아니-어요(아녀요). or 아니-에요.
for example,
이것은 책입니까? Is this a book?
아니요. 이것은 책이 아니에요. No, this is not a book
예, 이것은 책이에요. Yes, this is a book.
도와주셔서 감사합니다. Thank you for helping me.
아니에요. 별일 아닙니다. (it is) Not at all, it's no big deal. (not 아니요).