Before beginning the actual painting, the artist needs to prepare the canvas by doing an underpainting. This involves creating a base layer of paint that helps establish the overall composition, values, and color scheme of the artwork. The underpainting acts as a guide for the artist, allowing them to build layers and add details on top of it. It helps in creating depth, texture, and harmony in the final painting.