What’s the function of the submit button on a form?

Clicking this button will send the data from your form to the URL you specified with your form's action attribute.