Giraffes with long necks

Why have giraffes got long necks?
Joke image
Because their feet smell!
If you have a long neck, it means your nose is a long way from your feet!