Texture refers to the thickness and layers of sound in a musical piece. There are three main types of musical texture: monophony, which has a single unaccompanied melodic line; polyphony, which features two or more independent melodies combined simultaneously; and homophony, where a prominent melody is accompanied by other instruments or voices providing chords.