The mutation in the somatic cells is known as somatic mutations. As they do not take place in the cells, which give rise to gametes, thus, the mutation is not inherited to the next generation by the sexual means.
On the other hand, the genetic mutations take place in the germline cells, that is, egg and sperm, because of this the mutations possesses the tendency to get passed on from one generation to another.
Thus, mutations are only passed on to offspring when they take place in germ cell DNA. The other kind of cells, the somatic cells refers to the rest of the cells in the body and mutations, which takes place in these cells do not get inherited further to the offspring.
Hence, the correct statements are mutations to gametes can be passed on to an organism's offspring and mutations to somatic cells are only present in the type of cell in which the mutation occurred.