Wakf literally means tying up or detention.
According to accepted view it is the detention of the property in the ownership of the God. Quran is silent regarding Wakf but Quran says something about charity.
In simple words when a person ties up his property to the God and remains the usufruct for the benefit of public. It may be religious or charitable.