Hi Morgan. Here is a very detailed article about how staking works.