Let $A$ be a commutative domain.
For every $A$-mod $M$ we can define its torsion submodule as $T(M)=\{m\in M \mid \exists a\in A\setminus \{0\} \text{ such that } am=0 \}$. Hence we have an exact sequence
$$0\rightarrow T(M) \rightarrow M \rightarrow M/T(M)\rightarrow 0$$
Where the last term is torsion free. This sequence split iff $T(M)$ is a direct summand of $M$ and in that case we can write $M$ as the direct sum of a torsion module with a torsion-free module.
This happens for example when $A$ is a PID and $M$ is finitely generated by the structure theorem that we have in this case. Also this happens trivially when $A$ is a field.
My questions are
Is there an example of a sequence that doesn't split in the case that $A$ is PID and $M$ is not finitely generated?
and
Is there known any other "big family" of module for which this exact sequence split?