Microsoft interview question

How does a Neural Network work