An astronomical unit is the measure of the center of the Earth to the center of the sun.
Because our solar system is so vast, using mere miles is ridiculous, because they are too small to be helpful and the numbers will be in the billions. Astronomical units make it easier to think in small amounts.
Hope this helps :)