Step-by-step explanation:
Elements need a total of eight electrons to gain stability and look like a noble gas. So, they sometimes need sharing of two, four or even six electrons to complete their octate. So, they form double and triple covalent bonds. One more the reason is the interaction between the p orbitals of the combining atoms. for example A double bond, as in ethene H2C=CH2, arises from one combination of the s orbitals and one combination of the p_y orbitals.