Odyssey of thermoelectric materials: foundation of the complex structure