How works <script type="text/x-magento-init"> code?

See the x-magento-init-tagged articles.