Dear student
On adding baking soda he converts the milk to slightly alkaline pH , so that he can prevent it from spoilage by the action of bacteria as during summers the bacteria convert the milk sugar lactose to lactic acid, thereby making the milk acidic. The baking soda added neutralises the action of the excess acid, and prevents the spoilage of milk.
On boiling the milk containing baking soda , it becomes slightly bitter in taste due to formation of Na2CO3 salt which is bitter in taste.
Regards