Problems with shading in Blender

I'm a beginner in Blender, and I'm wondering — who can tell what's causing these shading artifacts? Adding a Subdivision Surface modifier fixed it, but I'm still curious why it happens