How does the Oblivion levelling system actually work?

There are 2 types of skill in oblivion. Primary and secondary skills. Primary skills when leveled up will contribute to your character level, while secondary skills when leveled will determine how much youll level up an attribute.
It might look confusing now but it isnt, and it isnt that important if your just playing.