Can only information(data) be stored in ram?
RAM is just a really fast hard disk (except the contents are usually lost if powered down). It can store anything you could store on a hard disk (programs, documents, pictures, temporary data,...).