The Earth rotates on itself and around the Sun. But from the Earth, it's the Sun that seems to revolve around the Earth from East to West. At noon (solar time), the Sun reaches its highest position in the sky. This varies with the seasons, and depends on the latitude of the place of observation. This is the Sun's apparent path.
This 3D animation shows the rotation and revolution of the Earth and Moon around the Sun. Imagine a stationary observer on Earth looking up at the sky. His field of vision, represented by the cone, rotates with the Earth. During the day, he sees the portion of the sky in which the Sun appears. At night, he sees the part of the sky not exposed to the Sun's rays. The Sun appears to cross the sky, but in reality it's fixed and the Earth rotates.
The proportions of size and distance are not respected. The time scale is respected. The field of view represented in the 2D window is wider than that represented by the cone.
credits: