Cameras benefit from filtering out wavelengths that are outside the visible spectrum.
When you pass light through a prism it splits into it's individual wavelengths and becomes a rainbow. When you pass light through the edges of glass lenses, they do the same thing. The lenses use extra elements that work as achromatic "doublets" to counter the effect, but it still happens... just to a much lesser degree.
That means that if you cut out the wavelengths of light beyond the spectrum that the human eye can see, you can technically get a sharper image.
Film cameras didn't have any built-in filters. All digital cameras (at least every digital camera I've ever seen) _does_ have builtin UV and IR filters.
The UV (and IR) filters are no longer needed when the lenses are used on a digital camera ... because the camera already has the filters built-in (if you remove your lens, put the camera into manual sensor cleaning mode (so it opens the shutter), you can see the sensor, but the surface that you could "touch" (if you tried to touch it) is actually not the sensor itself... but a filter in front of the sensor (and usually there's two filters).
A UV filter and a SKY filter were very similar... the difference is that the "SKY" or "1A" filter offered a very very slight "warming" tone (a pinkish/reddish tone) designed to very slightly "warm" the look. Basically that means the cutoff for UV was slightly into the visible blue range. The effect was subtle.