Just as you use “The Loop” to loop through posts in WordPress, each content type in BuddyPress has its own custom loop.
By using these loops in your template, you can output any kind of information and really customize how content is displayed within your BuddyPress theme.
The default BuddyPress theme (/wp-content/themes/bp-default) makes use of all the custom loops avaliable in BuddyPress. It provides a good example of using the loops in real use situations.