Refers to a musical composition or a tune.
La melopea que cantaba el niño alegró a todos en la fiesta.
The melody that the boy sang delighted everyone at the party.
La melopea que escuchamos en el concierto fue realmente conmovedora y hermosa.
The melody we heard at the concert was truly moving and beautiful.