It is used for storage, remove the same with client-side cookie at all, but it is designed to be used with the client-side language, especially to make it have the advantage over the cookie.
It is used for storing data into the client side as well as cookie yet, but it is designed to work with specific client-side language it has advantages over direct cookie.