The theory which states that the earth lies at the center and the sun, the moon and the planet revolve around the earth is called geocentric theory.
The theory which states that the sun lies at the center and the earth, the moon and the other planets revolve around the sun in their own orbit is called heliocentric theory. Nicholas Copernicus introduced this theory.