Its just a class which stores data to the current user session. You can set
, get
and clear
data from the session.
Have a look at the \Magento\Framework\App\Request\DataPersistor
class SessionManagerInterface
is used in every method.
You could use this to store temporary data to be used across the framework which don't need to be stored otherwise in the database.