A power supply comprising switching elements (20), wherein the power supply is provided with first heat sinks (30) having electrical conductivity to which the switching elements are fitted and a second heat sink (40) mounted with the first heat sinks which are electrically insulated, and first heat sink is used as one terminal for the switching elements, and the first heat sinks each having a projection, to be in contact with outside terminals (81), (82).