Why do apples turn brown after you cut them?

Cut apple flesh meets air and enzymes turn it brown — like rust for fruit.