Investigation of polymers towards advanced functional materials