Another way to say "A siren warns of danger." is "A siren is for warning of danger."