The plant contains a chloroplast that works very similar to a solar cell since both structures capture energy from the sun and transform it into a valuable form.