What's exactly a task in ROS?
I've heard in different places the word task while reading articles related to and documentation about ROS, but, since I'm also quite new to ROS, I'm not sure what it is, and if it's used to indicate different things in different contexts, if it is a general term, or if it's a term only used with one or more specific packages.
In this article Create your own task, a task is defined as:
A task is just a bunch of code that gets executed on the robot.
What are examples of this code? Examples of tasks?
At this point it's not clear to me what's the relation between a task and a ROS package. What is the different between a task and a node?