Why do desert insects have long legs?

To keep them away from the hot sand. Most desert animals have long legs, mammals and birds too. Think ostrich ^^