Your pension comes from various different sources.
The state pension usually has two components: an income pension and a premium pension. State pensions are paid by the Swedish Pensions Agency.
Occupational pensions are funded by your employer.
Private pensions are an optional extra that people choose themselves.
The different pensions are not interlinked, but by combining them you can work out your total pension.