These genes turn plant cells into factories producing chemicals used by the bacteria for nitrogen and energy .
The expression of these genes effectively transforms the plant cells into opine-producing factories . Opines are used by the bacteria as sources of nitrogen and energy .