ViewPager is one of the most commonly used component in android. It has its unique functionality of swiping between pages. It is used with Fragment as it manages lifecycle of each page by its own.