An artifact in photography refers to any unwanted alteration or distortion in an image. These can occur due to various reasons, such as compression, sensor issues, or lens imperfections. Common artifacts include noise, chromatic aberration, and lens flare.