When to use $_SESSION vs $_COOKIE

When to use $_SESSION vs $_COOKIE