You don’t necessarily need the sun in your image to produce good sunset shots. It’s the soft light from the sun shining on nearby objects that can result in a memorable image.
The light from the setting sun casts a soft light on clouds over the hills along California’s central coast.