Functional Synchronization of Biological Rhythms in a Tritrophic System