https://southendelectricllc.com/wp-content/uploads/2022/08/doorbell1.jpeg

Doorbell transformers are step-down transformers that decrease 120 volt line voltage to a lower voltage required by the doorbell being utilized. Your residence's 120 volts is put on the transformer's winding or coil, and the reduced voltage is taken from the secondary winding or coil.