Finally, a metal such as aluminium is deposited on the whole surface of the substrate to define bit line 23, so that there may be obtained a DRAM, wherein a capacitor and a transistor are vertically stacked according to the present invention, as shown in FIGS. 4a and 4b.