Fragment is a part of Activity. By the help of fragments, we can display multiple screens on one activity.