Mutations are fundamental to biological evolution - they are one of the mechanisms that provide the genetic variability that forms the basis to expand the repertoire of phenotypes. In this process, natural selection chooses variants that are better adapted to the given environmental conditions and thus produce more offspring. Thus, they are a source of new genetic variability that enables organisms to adapt to environmental changes. You can read more about the principle of evolution in chapter 14.