This question already has an answer here:
Excuse me for the beginner level question. Mercedes F1 team also supplies engines to Racing point and Willams team. But why are those two teams not so competitive? I think Engine is the main unit at F1. That's where major difference lies, I believe. Do the teams get the same engine as Mercedes or a lower grade?