When a tuning fork starts to vibrate when a certain note is played on the piano, this is an example of resonance. Resonance occurs when an object vibrates at its natural frequency in response to a sound wave of the same frequency. In this case, the tuning fork is vibrating at its natural frequency in response to the sound waves produced by the piano note.