It helps with consensus-building, since small talk warms people up socially, oils the interpersonal wheels and gets talk started on a positive note. Towards the end of or during task-oriented interaction, it helps to tone down the transactional nature of the interaction and address addressee's positive face needs, i.e. the needs to be liked by others.