These sentences are used to ask for someone’s ability, except …
Do you know how to play the piano?
Can you play the guitar?
Where did you buy this violin?
Are you good at dancing?