Why is it important to include exit; after the header('Location: ..'); statement in PHP scripts for proper execution?

It is important to include `exit;` after the `header('Location: ..');` statement in PHP scripts to ensure that the redirection happens immediately and the script stops executing further. If `exit;` is not included, the script will continue to execute the remaining code which can potentially cause unexpected behavior or errors.

header('Location: https://www.example.com');
exit;