Selenite is a varietal name of Gypsum, which is one of the more common minerals in sedimentary environments.
It's primarily composed of Hydrated Calcium Sulphate, it forms when limestone is attacked by sulphuric acid. The resulting product is larger than its components so can be 'squirted' through pores in the rock under pressure, whilst in crystalline form. It is a major rock forming mineral that produces massive beds, usually from precipitation out of highly saline waters. Since it forms easily from saline water, gypsum can have many inclusions of other minerals and even trapped bubbles of air and water.
Gypsum has several variety names that are widely used in the mineral trade. "Selenite" is the colorless and transparent variety that shows a pearl like luster and has been described as having a moon like glow. The word selenite comes from the Greek for Moon and means moon rock. Another variety is a compact fibrous aggregate called "satin spar" This variety has a very satin like look that gives a play of light up and down the fibrous crystals. A fine grained massive material is called "alabaster" and is an ornamental stone used in fine carvings for centuries, even eons.