Cookies are shared with the server. Local storage generally is for local data only.
Just to expand on that, the sharing between the server doesnt just have privacy implication, it also means a whole ton of data that gets transferred with every request (including image / css requests etc)