When I read the android official document, I notice that the Android system manages activities by task, but it also uses the back stack to control the activity sequence.So m
A Task is the collection of the activities and it uses a Back Stack to arrange them(activities) with the order in which they were opened.
Every Application uses its own Task and that task uses it's own Back Stack.