No, this is not entirely correct.
Plants receive energy from the sun through the light. This energy is transformed into chemical energy during their growing process.