Phonology

In a language, two otherwise identical syllables have different meanings when spoken with different pitch patterns. What role is pitch playing?