why do desert plants have thorns instead of leaves ?Explain the answer according to theories of Charles Darwin and Jean Baptiste de Lamarck

Wouldn't leaves lose water content more quickly? Relate that to adaptation.