Complex sentence: When the boat is traveling across or into the wind, lift is added to the sails which act as airfoils and propel the boat by redirecting the wind coming in from the side towards the rear.
Split into simpler sentences: When the boat is traveling across or into the wind the sails, act as airfoils. A lift component is created by redirecting the wind coming in from the side towards the rear.