During a solar eclipse, the Moon passes between the Sun and the Earth. The Moon's shadow falls on the Earth, and the part of the Earth that's in the shadow experiences the eclipse.
The first part of the Sun that is covered is the edge of the Sun that is closest to the Moon's leading edge, as the Moon starts to move in front of the Sun. It's a gradual process.