how to manage cookies in magento 2

how to manage cookie in magento 2