My undergraduate graduation was in July and my Masters one was in December (same university) - mot of the people at the December one were either PhD and Masters students (Masters courses tend to run September to September), people who had had extensions on their final assignments, or people who had opted to graduate in the winter ceremony even if they would have technically been allowed to graduate in July (a friend deferred her graduation because she had a holiday booked, for example).