When we refer to hydrocarbons ( compounds containing carbon and hydrogen only), names of saturated ( where carbon atoms are joined by single bonds only) hydrocarbons end with "ane". When the hydrocarbon contains one carbon-carbon double bond, the name ends with 'ene' ( 'ane' from the name of alkane replaced by 'ene'). When the hydrocarbon contains one carbon-carbon triple bond, the name ends with "yne".
In presence of other functional groups the names may not end with"ane,ene or yne", but will find place in the name of the compound as 'en or yn'.
Go through the examples of nomeclature from any standard book and your doubt will be cleared.
When we refer to hydrocarbons ( compounds containing carbon and hydrogen only), names of saturated ( where carbon atoms are joined by single bonds only) hydrocarbons end with "ane". When the hydrocarbon contains one carbon-carbon double bond, the name ends with 'ene' ( 'ane' from the name of alkane replaced by 'ene'). When the hydrocarbon contains one carbon-carbon triple bond, the name ends with "yne".
In presence of other functional groups the names may not end with"ane,ene or yne", but will find place in the name of the compound as 'en or yn'.
Go through the examples of nomeclature from any standard book and your doubt will be cleared.