As is obvious from the above description, according to the invention, by forming and stacking a semiconductor device over a device such as an IC or the like, the device of the upper layer can have a good electrical characteristic similar to that of an ordinary SOI consisting of only a single layer, so that a three-dimensional IC with high performance can be realized.