Does retirement effect tax returns?

I’m going into my senior year of college to be a teacher, while my sister is in her first year of teaching

I don’t have a retirement plan while she does

We made the same amount of money last year but I’m getting about $3,000 more than her in my return

Is it because of the retirement or anything else?