How does \Magento\Framework\Data\Form\Element\Fieldset::addField() work?

See also What means «type» attribute for a backend configuration’s form field?