What is geocentric theory?

Ptolemy thought that sun as well as other stars revolved around earth. His theory Was called geocentric theory. He said that the planets revolved in small cirdes known as epicydes whereas centres of these epicyde revolved around the earth in larger circles called deferents.