Geology and ecology are two branches of science that have many similarities, but there are many differences too. If you have ever gone outside and picked up a rock and studied it, you are doing something about geology. Both have to do with the environment and everything that is on the planet. However, geology is considered to be an earth science.
Anything that makes up the earth even if it is a liquid or solid has to do with geology. Ecology, however, has to do with how life on earth, whether it is a human, animal, or plant interacts with other organisms on the planet. This has to do with where these living things live, what they eat, how they get food and their environment.