In computer graphics, rendering is the process of generating an image from a 2D or 3D model by using software. It involves calculating lighting, shadows, textures, and other visual elements to create a final image or animation. Rendering is commonly used in video games, movies, architectural visualization, and other digital media.