Fruit flies learn extremely quickly. Their goal is to eat as much as possible. Their memory helps them to behave in a very agile manner.