Definition
This phrase is used to demand an explanation or justification from someone who has done something wrong or inappropriate.
You broke the vase, what do you have to say for yourself?
You're so late, what do you have to say for yourself?
I found you cheating on the exam, what do you have to say for yourself?