Elements with 2 electrons are called as Group 2 Elements.
As the name says elements with 2 electrons.
Such elements have 2 electrons in their outermost orbit, due to the presence of these 2 electrons in the outermost orbit such elements are not stable.
So, for becoming stable and completing the octet in the outermost orbit the elements need to lose their 2 electrons which are present in the outermost orbit.
Some common examples of such elements is Magnesium, Calcium, and Strontium.
The valency of such elements is 2.
As we know, valency is nothing but the number of electrons which are either lost or taken by the atom for completing their octet.
For more questions on Cations and Anions
https://brainly.com/question/29881978
#SPJ4