Example of ecology may include the relationship between barnacles and whales. Barnacles attach themselves to whales and use them as protection from predators.