internal ecology