Solving the mystery of superconductivity