What is staking in cryptocurrency all about?

I found this staking feature while browsing Binance but I don’t understand how this staking works. :sweat: TIA!

Imagine it is a percentage return on a deposit. You make a deposit (stake) and over time you get interest paid to you on the amount you stake. You promise not to use the crypto and you get rewarded as a result.