Due to its excellent mucoadhesive properties, HPMC gel is used in ophthalmic solutions to provide longer residence time on the ocular surface and improve drug absorption.