The definition of resonance is already well explained in the question, even though we have a good knowledge of the theory of how a molecule can be represented, in practice things might be different, this is why resonance is a representation of molecules that could have different structures. Ozone (O3) for example has 2 resonance structures.