If someone goes to the apple store and says that he has a problem with his battery and they exchange his iPhone with an other, is the other iPhone a new one or something else ?
It depends. Sometimes it's new and other times it is refurbished or "like new". In any case, the device you get will be in excellent working order.