Jar Jar Binks is a fictional male Gungans in the Star Wars series. The character was portrayed on screen by Ahmed Best. His allegiance / loyalty is to The Old Republic. Jar Jar Binks has the reputation of being the most hated character in the whole of star Wars. When the producers came up with the character, they probably thought Jar Jar would be a comedic character, who some people would find funny but people found him nothing but irritating. Jar Jar appears as a main character in Star Wars I - The Phantom Menace and then only briefly appears in 'Star Wars II - Attack of the Clones' as an Ambasssador for the planet of Naboo in the Galactic Senate. Jar Jar is a very clumsy, idiotic Gungan who takes it upon himself to help the Jedis whether they like it or not. Jar-Jar was expelled from the rest of the Gungan community on the grounds that he was too clumsy.
Qui-Gon Jinn and Obi-Wan Kenobi save Jar Jar Bink's life and in return Jar Jar offers to help the Jedis in any way they want. Jar Jar takes the Jedi's to the undwater Gungan city so that they can plead for help in defeating the Trade Federation but it falls on deaf ears from Boss Nass, the leader of the Gungans. When Jar Jar is able to placed in chains and taken away, the Jedi's agree to take Jar Jar with them. Jar Jar journeys with the Jedis to the city of Theed, the capital for the humans on the planet and then to Tatooine where they meet Anakin Skywalker who is still a slave for Watto.
During the final battle between the army of Naboo and the Trade Federation, Jar Jar fights alongside his fellow Gungans but is more of a hinderance than a help. Jar Jar is not a typical Gungan, more an exception. Don't judge all Gungans by him.
In the later prequel films, his role becomes very limited compared to the role that he had in Phantom Menace and he stops being so much of an idiot. He becomes a representative at the Senate on behalf of his planet Naboo and it is him who suggests giving more powers to Palpatine unknown to him that he is a Sith Lord.
If you watch carefully, in the second film where Anakin Skywalker and and Obi-Wan Kenobi are chasing the assassin Zam Wessel, you will see Ahmed Best as a person as a security guard. Also with Ahmed Best is Anthony Daniels who plays C-3PO in the flesh.