What is the difference between mocha and chai?

What’s the differences between the JavaScript testing frameworks Mocha and Chai?

Asynchronous testing, test coverage reporting, and the use of any assertion library are all supported by Mocha. Chai is a NodeJS and browser-based BDD / TDD assertion library that works well with any javascript testing framework. Mocha is a framework, whereas Chai is a library.