What was the importance of ra the sun god?

Ra was the god of the sun; he was both a creator god and a destructive.