Inbreeding and line breeding are types of animal breeding where closely related individuals are mated. Inbreeding increases homozygosity and can help establish desirable traits, but excessive inbreeding leads to inbreeding depression over multiple generations. Inbreeding depression reduces fertility and litter size due to increased genetic disorders and lower immune function in offspring of related individuals. While inbreeding brings genetic purity, it also has disadvantages like reduced productivity if taken to an extreme.