what is an astronomical unit

A) A measurement of the length for the universe

B) The measurement from Mars to the sun

C) A measurement for the diameter of the sun

D) The measurement of the Milky Way galaxy