Activefield Methods Vs. Html Helper

Can someone give me a quick explanation as to the difference between using the activeField with a chained method vs. using the equivalent Html::activeXXX method?

Example - what is the difference in output / functionality between:


 <?= $form->field($model, 'password')->passwordInput() ?>

and


Html::activePasswordInput($model, $attribute)

it works with ActiveForm


<?= $form->field($model, 'password')->passwordInput() ?> 

also it uses


Html::activePasswordInput($model, $attribute)

under the hood.