An RRSP is a tax-deferred account.
Investment income earned (interest, dividends, capital gains) within the account is not taxed until the funds are withdrawn from the account. Funds withdrawn from the account are treated as income.
Contributions to the RRSP accounts reduce your earned income and reduce your taxes liability. You'll need to check your contributions limit with the Canada Revenue Agency (CRA).