Another way to say "You use a piano by pressing its keys" is "A piano plays when its keys are pressed."