Whether you are using the stock manufacturer firmware or a custom community build (like Valetudo), updates serve three primary purposes:

Disclaimer: Flashing firmware can brick your device if done incorrectly. Proceed with caution.