If you google visceral and parietal you get: The parietal layers of the membranes line the walls of the body cavity (pariet- refers to a cavity wall). The visceral layer of the membrane covers the organs (the viscera).
but
the first image that pops up is this :
I don't understand how the inner layer is covering and the outer is lining ?