how is energy transferred from one organism to the other?