She was not able to produce an heir for Charles who had many illegitimate children. Her practice of Catholicism led to her having to leave England in 1692. She acted as regent for her brother Pedro II of Portugal in 1701 and 1704-05. Her Wikipedia article is here.
She introduced an exotic Asian import stimulant infusion beverage - tea - to Great Britain.