Step 1: Recall the functions of mesosomes.
Mesosomes are infoldings of the plasma membrane in prokaryotes.
They are involved in
\[
\boxed{
\begin{aligned}
&\text{Cell wall formation}
&\text{DNA replication and distribution}
&\text{Secretion}
&\text{Respiration}
\end{aligned}
}
\]
Step 2: Examine the statements.
All the given statements are correct.
\[
\boxed{\text{I, II, III and IV}}
\]
Step 3: Choose the correct option.
Hence, the correct option is
\[
\boxed{(C).}
\]