The data that is saved by the system to restore the previous state of an activity is called the Instance State. This data is saved as a collection of key/value pairs in a Bundle object.
When an activity is paused or stopped, its state is kept in memory. When the activity resumes, it is restored from memory.
When the activity is destroyed, it loses all information about its state. When the activity is restarted, it is created from scratch. It is a new activity.