Read this compound sentence and answer the questions below;

"They avoid foods that are high in calories and fats, and instead eat foods that are
nutritious but not fattening."
This is a compound sentence. Which word joins the two parts ?
ii. What is the subject of both the first and the second part?​