Mutations are only passed on to offspring when they occur in a germ cell DNA which are the cells that create sperm or ova...
will be inherited only if it occurred on a chromosome in either the sperm cell or the ova cell out of many that eventually unite to form a zygote