in gulliver travels how swift laughs at the weakness of people in the contemporary society

Your question is not clear.

Try reading this, and then repost if you still need help.
http://www.sparknotes.com/lit/gulliver/

In the novel "Gulliver's Travels" by Jonathan Swift, the author satirizes and criticizes various aspects of contemporary society. Swift uses the character of Lemuel Gulliver, a traveler who visits different societies on his voyages, to highlight the weaknesses and absurdities he sees in human nature and society.

Swift often employs exaggeration to emphasize his critique. In his portrayal of the Lilliputians, who are tiny people that Gulliver encounters, he mocks their small size as a reflection of their small-mindedness and trivial concerns. The Lilliputians obsess over trivial matters such as which end of an egg to crack, meaningless disputes over historical events, and intricate political rivalries. Through this, Swift lampoons the pettiness, vanity, and self-importance of the people in his contemporary society.

Similarly, in the land of Brobdingnag, Gulliver encounters giants who tower over him. Here, Swift reverses the perspective, highlighting the flaws and weaknesses of humanity when observed from a different scale. The giants' observations of Gulliver's society reveal the absurdity of human customs, war, politics, and morality.

Swift's intention in "Gulliver's Travels" is to criticize and satirize the shortcomings of society, especially the vices, follies, and misunderstanding that he saw during his time. By presenting these weaknesses in an exaggerated and often humorous manner, he aims to provoke readers to reflect on their own society and to consider the need for change and improvement.