Was replacing the battery cables and thought I would take a cursory look under the car and here is what I saw

What am I looking at here? It looks like some sort of grease retainer but a piece of whatever it is sticking out the rear and a large piece at the lower front.