We need to access cookies from browser for function we create. We store cookies in browser that we want to access which we use to call apis.