And they let you spend a few months with your newborn child.
Parents have the right to 480 days of parental leave in total. 90 of which is reserved for each parents(180 total) but the remaining 300 you can choose who stays home.
It's quite common that both parents stay home for a while. Which they can, just means your total parental leave days are consumed twice as fast.
NOTE: This is just for Sweden. Other European countries may have other rules