Bubble Sorting Cycle

Hello Everyone, I am new in this community and I don't know this is right place to ask programming based queries. I am preparing some programming interview questions and i am confused in mean out in bubble sorting working. I want to know the proper working cycle for bubble sort. It is also called a sinking sort. Can anyone know the working structure of the bubble sort? or Can anyone suggest some topics which are helpful for my interviews?