How are cells able to produce the proteins required by certain conditions?

Pick the answer from these options
by expressing existing genes