The study permit is a legal document that allows foreign people to study at designated learning institutions (DLI) in Canada. Most foreigners need a study permit to study in Canada. Make sure you have all the documents you need before you apply and should apply before you travel to Canada.
Your study permit is not considered as a visa so, you cannot rely on it to enter Canada. To visit Canada one need visitor visa or an electronic travel authorization (eTA). If study permit is approved, one of these would be issued with study permit.