How is Petrified Wood Made?

Petrified wood is a type of fossil. All the organic material has been replaced with silicate a mineral but it still maintains the original structure of the wood.