Sadaqah - is charity you give willingly, in order to please God. It is not compulsory charity.
Sadaqah e jariya - the concept of 'continuous giving' in Islam. The Prophet Mohammed (pbuh) said “When a person dies, all their deeds end except three: a continuing charity, beneficial knowledge and a child who prays for them,” (Muslim 1631). Examples of continuous charity are building a masjid, a school, providing education.
Invest in your afterlife
Donate towards your sadaqah e jariya during your own lifetime