sprinkler

noun
  1. a device that sprays water in drops or a fine stream, especially for watering lawns and gardens
  2. an automatic fire safety device that releases water when activated by heat or smoke

Examples