How did idioms begin?

Can you answer this question?