The dark spots that are found on the photosphere are called sunspots. These are a temporary phenomena and are areas of different temperature compared to the surroundings. Sunspots are at a lower temperature compared to the surrpundings and they are created due to magnetic field flux. They can stay on from a few days to a few months and eventually decay.