A UV filter is first and foremost for the protection of the camera lens against UV rays. But it is not good to use it at night as it can negatively affect the image result.