Perk interview question

What the keyword yield does in Python?