Alkali
The word "alkali" is derived from Arabic "al qalīy" (or "alkali"), meaning "the calcined ashes" (see calcination), referring to the original source of alkaline substances. A water-extract of burned plant ashes, called potash and composed mostly of potassium carbonate, was mildly basic. After heating this substance with calcium hydroxide ("slaked lime"), a far more strongly basic substance known as "caustic potash" (potassium hydroxide) was produced. Caustic potash was traditionally used in conjunction with animal fats to produce soft soaps, one of the caustic processes that rendered soaps from fats in the process of saponification, one known since antiquity. Plant potash lent the name to the element potassium, which was first derived from caustic potash, and also gave potassium its chemical symbol K (from the German name Kalium), which ultimately derived from alkali.
Alkaline earth metal
The alkaline earth metals are named after their oxides, the "alkaline earths", whose old-fashioned names were beryllia, magnesia, lime, strontia, and baryta. These oxides are basic (alkaline) when combined with water. "Earth" is an old term applied by early chemists to nonmetallic substances that are insoluble in water and resistant to heating—properties shared by these oxides. The realization that these earths were not elements but compounds is attributed to the chemist Antoine Lavoisier. In his "Traité Élémentaire de Chimie" ("Elements of Chemistry") of 1789 he called them salt-forming earth elements. Later, he suggested that the alkaline earths might be metal oxides, but admitted that this was mere conjecture. In 1808, acting on Lavoisier's idea, Humphry Davy became the first to obtain samples of the metals by electrolysis of their molten earths, thus supporting Lavoisier's hypothesis and causing the group to be named the "alkaline earth metals".