How exactly do 'interest only' mortgage loans work? When do I pay on the principle of such a loan?

I know APR loans are a bad idea, but how would an interest-only loan work? Would it still be a 30 year note, or do they extend the loan? Would I be able to get a fixed rate with an interest-only mortgage loan?