Please have a look at this tutorial about the Fragment-Lifecycle:
http://developer.android.com/reference/android/app/Fragment.html#Lifecycle
It explains the lifecycle of the Fragment with respect to its Activity.
When the user presses the home-button for example:
onPause() - fragment is no longer interacting with the user either because its activity is being paused or a fragment operation is modifying it in the activity.