pa state tax on dividends and cpital gains from a 1099 consolidated form?

i'm looking to see if the state of pa. taxes dividends and capital gains from a 2021 1099 consolidated  from. these dividends and capital gains were not distributed to me  as cash for 2021 but is left in the porfolio for futire use.....kozlo52