An astronomical unit is defined to be A the average distance from the Earth to the Moon. B the average distance from the Earth to the Sun. C the average distance from our Sun to the nearest star. D the average distance from our Sun to the closest planet, Mercury.