Yes, sunflowers are attracted to the sun, specifically in their young stage of development.
Sunflowers exhibit a behavior called heliotropism, where the flower heads track the sun's movement across the sky from east to west during the day. This tracking is driven by the plant's need to maximize light capture for photosynthesis. Photosynthesis is the process by which plants convert light energy into chemical energy, fueling their growth. By following the sun, young sunflowers increase their light exposure, which leads to enhanced growth. As the sunflower matures, the stem stiffens, and the eastward orientation becomes permanent. Therefore, mature sunflowers typically face east.