system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Why does squinting seem to enhance our vision?

I wear glasses, but when I don't wear them and just squint, the blurriness of everything decreases. Allowing me to see just a little better. Why is that?
gpt
It doesn't "seem to enhance" your vision, it actually enhances it.

The depth of field, how much of the image in front of the lens is in focus, depends on the width of the aperture (the hole the light goes through).  When you squint, you reduce the width of the hole through which light can get into your eye. In addition to making things darker, this increases the depth of field.  As a result, the "too near" focus of your eyes might extend to make previously out of focus things focus.

The extreme of this effect is a pinhole camera.  This is a camera with no lens but a hole so small that even without the lens light can be focused.