Greenhouse comprising a) a roof (12, 13) through which sunlight can at least partly pass for allowing cultivation underneath, said roof comprising at least one openable portion (13A) for allowing aeration of the greenhouse, said at least one openable portion (13A) of roof being pivoting from a closed position to a maximum opening position, and b) at least one photovoltaic module (15) arranged on said roof (12, 13). The distinctive feature of the invention lies in the fact that said at least one photovoltaic module (15) is fixed to, or forms part of, said at least one pivoting portion of roof (13A), so that when the inclination of said pivoting portion (13A) changes, said photovoltaic module (15) follows the movement of the pivoting portion (13A).