A battery can be fabricated from a substrate including silicon. This allows the battery to be produced as an integrated unit. The battery includes a anode formed from an array of spaced elongated structures, such as pillars, which include silicon and which can be fabricated on the substrate. The battery also includes a cathode which can include lithium.