  We report a detailed study of superconductivity in polycrystalline SnTaS$_2$
using electrical transport, magnetization and heat capacity measurements.
SnTaS$_2$ crystallizes in centrosymmetric hexagonal structure with space group
$P6_3/mmc$. Electrical resistivity, magnetization and specific heat data
suggest SnTaS$_2$ to be a weakly coupled, type-II superconductor with $T_c
\approx$ 2.8 K. First-principles calculations show signature for nodal line
topology in the electronic band structure, protected by the spatial-inversion
and time-reversal symmetries, that strongly gapped out by the inclusion of
spin-orbit coupling (SOC). Superconductivity in layered SnTaS$_2$ with nodal
line topological state makes it a strong candidate to be considered for a 3D
topological superconductor.
