Sati was not part of religion.. In older days to save the women from all the ill treatments of the society. Sati was like suicide and was against the Shastras, the Hindu code of conduct.. ANd because an act like this needed courage and bravery people in older ages started worhipping such women and thus it became even more popular.