Ecology is the study of interactions between organisms and their environment. It's the study of the relationships within a specific habitat.
The study between organisms and their surroundings allows us to study them better.
Hope it helped,
BioTeacher101