Artificial neural networks acquire the ability to smell similarly as the human brain does.