Focus is a process that ensures the subject of a photograph appears clear and sharp. Focus can be achieved using an optical element in the lens, allowing you to focus on objects that are close or distant.
Cameras are also equipped with autofocus (AF), which adjusts the focus automatically using an electronic system. Autofocus works best for high-contrast images. The light level and movement of the subject also affects the cameras ability to focus effectively.