An EntityManager instance is associated with a persistence context. A persistence context is a set of entity instances in which for any persistent entity identity there is a unique entity instance. There is a life-cycle associated with each entity which can be managed by this interface. Life-cycle events include create, read/query, update and modify.