Goals that shape the behavior of members of Congress

What are the varying goals that shape the behavior of members of Congress? How does the incentive for reelection shape their behavior? How can it lead them to be both individually responsive but collectively irresponsible?