Name the elongated bag that contains the synovial fluid:

What is its function?