when water is distilled it leaves a solid containing the elemnts-

Whatever is left depends upon what was in the water to begin with. There msy be no solids at all.

it had salt

In that case the elements are sodium and chlorine

When water is distilled, it undergoes a process called distillation, which aims to separate the water from any impurities or dissolved substances. Distillation usually involves heating the water to create steam, which is then condensed back into liquid form.

If the water being distilled contains dissolved salts or minerals, these substances will remain behind as solid residue when the water vaporizes. This solid residue is called "distillation residue" or sometimes referred to as "distillate residue."

The specific elements present in the distillation residue can vary depending on the composition of the original water source. Common elements found in the distillation residue may include calcium, magnesium, potassium, sodium, and other mineral salts.

To analyze and determine the exact elements present in the distillation residue, the residue can be subjected to further laboratory testing and analysis techniques such as spectroscopy or chemical assays. These methods help identify and quantify the elements or compounds that make up the solid residue left behind after water distillation.