If given royal assent, the legislation could ensure biodiversity loss in the UK is halted and reversed by 2030.
Solar power is now the cheapest form of energy but it still faces public resistance as people claim panels take up valuable space which could be used for farming.