Why is it 私は学生です and not 私が学生です??

I keep seeing both は and が in my textbook and nobody explains WHY one over the other. My teacher just says "は is topic, が is subject" but that means nothing to me lol
Post
沐學 Mizuru