What is the energy transformation that occurs when a smoke alarm goes off?

a
Electrical to potential
b
Sound to light
c
Potential to electrical
d
Electrical to sound

d

Electrical to sound