Process in which minerals replace tissues.