Drupal Form

Drupal 8's Form API is a continuation of an idea that was started way back in Drupal 4.x and provides a convenient, secure, predictable and incredibly useful abstraction for creating and processing HTML forms. Once you know how to use it. And you really should.