explain how melody harmony and texture work together create composition do they work depende

Explain how melody, harmony, and texture work together to create a composition? Do they work dependently or independently of each other? Explain this answer .