A triple bond consists of a total of three bonds between two atoms: one sigma bond and two pi bonds.
In a triple bond, the first bond formed is a sigma bond, which occurs when two atomic orbitals overlap directly between the two nuclei. This type of bond is relatively strong and accounts for the primary connection between the atoms.
The remaining two bonds are pi bonds. These are formed from the side-to-side overlap of p orbitals. Because the pi bonds are formed from the sideways interaction of these orbitals, they are generally weaker than sigma bonds. However, the presence of the two pi bonds contributes to the overall strength and stability of the triple bond.
To summarize, a triple bond contains one sigma bond and two pi bonds, making it a strong and stable connection between the two atoms involved.