The piano is an instrument that is both in the string and percussion section. This is because when you tap your finger on the keys it is considered percussion, however the strings inside are what make the sound making it part of the string section.

A piano has strings inside that get tapped on with a little hammer that moves when you hit the keys causing the string to vibrate making a sound.

More Info: en.m.wikipedia.org