There is a theory that moon was constructed from Thea planet impact with young Earth. Thats a simulation of that episode of Solar system:)