Are pianos percussion?

It is considered as a percussion instrument and a string instrument. This is because when a piano key is pressed, little hammers inside hit the strings which vibrates and those vibrations produce the sound.