What is the difference between artificial intelligence and artificial neural networks? I have made several neural networks by using Brain.Js and TensorFlow.js. 

What is the difference between artificial intelligence and artificial neural networks?
Artificial intelligence is a broad field, ANN is a specific technique with in that field.