Human: What is the difference between a piano and a keyboard? Assistant: 
The primary difference between a piano and a keyboard is that a piano is a musical instrument that produces sound by striking small metal strings with hammers, while a keyboard typically uses electronic circuits and digital sampling to produce sound. Additionally, a piano commonly has 88 keys, while a keyboard typically has fewer.