This question already has an answer here:
From the question about sharp pods under airliner wings, I think the right term is anti-shock bodies, or flap actuators/track fairings.
What's the little antenna looking thing extending off the rear end of it? My best guess it something anti-static? Why are they necessary?
I should add that this is an American Airlines Airbus 321.