Ongoing Charity After Death

We know once we die our deeds will stop but there is ongoing charity after death and it comes in 3 ways. Building a mosque, planting a tree or knowledge that will be benefited from after you have passed away.