Fermentation is an interesting process. I can only imagine that the first brewers must have thought it was magic or some kind of demon breathing life into their wort. Just think about it, you basically put "grain tea" in a jug, add some yeast, and in 8 hours you get a bubbly foam appearing on top and bubbling from what seems to be nowhere.
In the picture above you can see 4 different brews at the different stages of fermentation. In the upper right, you have a brew that was pitched (yeast added to it) 8 hours earlier. It is blowing CO2 through a blow-off tube like you were blowing as hard as you can into the jar. The crousen (foam on top) is white in color and is "rolling" up from the bottom.
In the upper left, you can see what the carboy to the right will look like 24 hours later. I have swapped the blow-off tube to an airlock, and the bubbling has reduced to about a bubble a second. The crousen has started to darken in color and the yeast is settling to the bottom.
The carboy in the lower right is another day older and the airlock is bubbling once every 10 seconds or so. The crousen is continuing to darken and settle, and this will proceed in this manner for a week until I rack (transfer) it over to another carboy. By that point the bubbling will have dropped to once every minute or so, the gravity will have leveled off, and the crousen will be gone or reduced from the top.
The carboy in the lower left is one that has just been racked. It only bubbles every few minutes and is resting to balance out the flavors. We have had some bubble and foam a little after this step, after it is stirred up from the process, but after 2 weeks in the secondary fermentor it will be ready to bottle. OCBC typically uses a 1-2-3 method. One week in primary fermentor, two weeks in secondary, and three weeks in the bottle. The secondary time and bottle time can vary and a few extra weeks in these steps can really help smooth out the flavors and the balance out the beer.
Check out the video below to see and hear the fermentation in action.