Ecology is the study of living organisms and their relationship
to their environment and each other. Types of ecology include, but
are not limited to population ecology, community ecology and
behavioral ecology.
Any situation in which living organisms and their relationship
to their environment and each other is being studied could be
considered ecology. And example could be studying the spread of an
invasive species in a new environment or studying the relationship
between availability of a particular resource and the size of a
population.