Why is refraction so important in eyeglasses.

refraction is the quality that causes

the bending (focusing) of light rays

it's what allows lenses to function