https://doc.rust-lang.org/book/ch04-00-understanding-ownersh...
This link explains it pretty clearly with example code (which is easy enough to understand even if you've never seen rust code before).