The kilometre is a unit of length and is a multiple of the metre; an SI derived unit. It has the symbol km.
A kilometre is equal to 1000m, 1094 yards and 0.621 miles.
Kilometres is used to measure road distances in the US, though the UK is still using the imperial "sister" miles.
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.