Because each task only handles one seciont of the overall program, the tasks need to share data with each other. The task diagram shown bellow illustrates how data is shared between classes. Each task is designed to run at a specified period and with a specified priority. Tasks with higher priority are run before tasks with a lower priority if both tasks are requesting to be run.