Do things painting the roof white help to reduce the heat in a significant way? Have seen it being mentioned in videos on black vs white coloured cars.

Are there any drawbacks noted by people who tried it for roofs?
Or are there other options that are easier to start with?