How did Pinnochio find out he was made out of wood?

His hand caught on fire.