Help with Pensions!! Please!!

Could someone give me a brief overview of the financial statement presentation for pensions? I know if you have an underfunded plan that's a liability and an overfunded plan is an asset. But what does Other Comprehensive Income have to do with it? I don't really understand when and why you would debit/credit OCI.