does the sun exert a gravitational force on the earth? if so, why doesn't the earth fall into the sun?

The Earth is falling toward the Sun. If it were not falling toward the Sun, it would be far out into the vast reaches of the far universe by now.