Hydrocarbons are the organic compounds which are only composed of carbon and hydrogen. Hydrocarbons are of different types like aromatic hydrocarbons alkanes alkenes and cycloalkanes. Down below are some examples illustrating different types of hydrocarbons.
ALKYNES
The unsaturated hydrocarbons in which atleast 1 carbon- carbon triple covalent bond exists are called alkynes. For example PROPYNE
As you can see that 2 carbon atoms are bonded with each other by the help of a triple covalent bond and the remainig valancies are satisfied by single covalently bonded hydrogen atoms.