This question already has an answer here:
I am traveling for the first time to a different country with Turkish Airlines. I have a flight from New Delhi to Bordeaux,France with layover at Istanbul. So will the baggage be transferred by them, or I will need to collect my baggage and get to the other flight? Both the flights are same i.e, Turkish Airlines.