Does Form provide functionality or just styling?

In HTML, a form element actually has key functionality: it submits the form to the server.

In SwiftUI, is a Form a necessity when using form elements, or is it only for use when you want specific styles applied? Is Form just a visual thing or does it provide any behaviour?

In a Form, SwiftUI automatically manages things like scrolling to ensure input fields stay visible when the keyboard appears. For instance, if you have text fields or pickers within a Form, the UI automatically adjusts to focus on the active input field without manually managing scroll behavior.

However, Form is not necessary for user input.