The Reasoning Behind Wudu (Ablution)

What is the reasoning behind wudu (ablution). Is it just about purifying out bodies? Or is it about preparation for standing in front of Allah?