This paper concerns the use of speech synthesis as a tool in investigating dialogue structure and in modelling prosody for use in dialogue-based text-to-speech systems. We report on two different approaches used in our efforts to investigate how prosody is used as a communicative tool in dialogue situations. Our work has relevance for practical applications of both text-to-speech and speech recognition technology.