What role does AIPAC play in US elections?

Republican candidates have been making their pitch to the most powerful pro-Israel lobby in the US.