Burns from fire is a common thing. Usually mature persons are very careful in handling fire. But children usually do not realize that fire can produce a burning sensation and recklessly play with it. They find it an attractive thing until it burns them. But once they get burnt, they will be more careful.
In our daily life, we often come face to face with dangers. We suffer from our mistakes. But once we know what is to be expected from a mistake, we will try to avoid such mistake. In other words, we are like children, we learn from our mistakes, the memory of our mistakes will make us extra careful in future. A wise man never repeats the same fault twice. However as the saying goes, it is always best to avoid faults and mistakes than to commit them and learn in due course.