A kettle whistles when the water inside has reached boiling point. The boiling water produces steam which is forced through a small hole at the top of the kettle. This creates vibrations in the air, resulting in a distinctive whistle.