Locally interacting systems and their application in biology