@Pratesh.

The Geddou Mazou was The Body of The Juubi. Madara released it and Summoned it after he gained Hashirama's power and got the Rinnegan.