Terminal alkynes forms silver salt with Tollen's reagent while alkene does not react with Tollen's reagent.
$CH_3 - C \equiv C - H+ AgNO_3 \, \, \xrightarrow{NH_3(aq)} CH_3- C \equiv C\, Ag \downarrow $
$\hspace85mm _{}^{white\, ppt}$
Therefore, Tollen's reagent can be used to distinguish a terminal alkyne like propyne from alkene as well as from internal alkynes.