The more light in the scene, the lower the ISO setting will be, and therefore the less grain will appear in your photos. If you're struggling with low light and still getting grainy photos, swiping down on the camera screen to reduce the exposure will help.