The astronomical unit is a unit of length and is used in the Astronomical system of units and denoted by the symbol au.
It represents the average distance between the Earth and the Sun which is approximately 150 million kilometres (or 93 million miles).
It's used mostly to express distances within our Solar System.
The mile is a unit of length in the imperial unit system with the symbol mi.
It was originally an English unit but was adopted by many countries who all had their own slight variation on definition. The English mile, however, is equal to 63,360 inches, 5280 ft or 1760 yards.
The UK still uses the mile on all roadway signs rather than the kilometre; its SI "equivalent". It used to have the symbol 'm' until SI was established and it was changed to avoid confusion with the unit metre.