An electrical, electronic, or mechanical device that serves to warn of danger by means of a sound or signal.