The present invention relates to a flooring module for forming a floor, and which also incorporates a photovoltaic cell for generating electricity. The floor and electrical generator module has a body comprising: a floor surface for forming a floor; and at least one photovoltaic cell; the module further comprising a support means supporting the body and allowing movement of the body between first and second positions; wherein the module is configured such that the body can function either as a floor in the first position when the floor surface is uppermost or as an electrical generator in the second position when the photovoltaic cell is uppermost.