Why is my female dogs teats swollen?

This sometimes happens after a female dog goes through a heat cycle. It could also mean that the dog is pregnant.